
Modulo Timer (S08MTIMV1)
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
188
Freescale Semiconductor
13.3.3
MTIM Counter Register (MTIMCNT)
MTIM
CNT is the read-only value of the current MTIM count of the 8-bit counter.
13.3.4
MTIM Modulo Register (MTIMMOD)
7
6
5
432
1
0
R
COUNT
W
Reset:
0
Figure 13-6. MTIM Counter Register
Table 13-4. MTIM Counter Register Field Description
Field
Description
7:0
COUNT
MTIM Count — These eight read-only bits contain the current value of the 8-bit counter. Writes have no effect to
this register. Reset clears the count to $00.
7
6
5
432
1
0
R
MOD
W
Reset:
0
Figure 13-7. MTIM Modulo Register
Table 13-5. MTIM Modulo Register Field Descriptions
Field
Description
7:0
MOD
MTIM Modulo — These eight read/write bits contain the modulo value used to reset the count and set TOF. A value
of $00 puts the MTIM in free-running mode. Writing to MTIMMOD resets the COUNT to $00 and clears TOF. Reset
sets the modulo to $00.