Modulo Timer (MTIM)
MCF51CN128 Reference Manual, Rev. 6
Freescale Semiconductor
18-7
18.3.3
MTIM Counter Register (MTIMCNT)
MTIMCNT is the read-only value of the current MTIM count of the 8-bit counter.
18.3.4
MTIM Modulo Register (MTIMMOD)
7
6
5
4
3
2
1
0
R
COUNT
W
Reset:
0
0
0
0
0
0
0
0
Figure 18-5. MTIM Counter Register
Table 18-4. MTIM Field Descriptions
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 0x00.
7
6
5
4
3
2
1
0
R
MOD
W
Reset:
0
0
0
0
0
0
0
0
Figure 18-6. MTIM Modulo Register
Table 18-5. MTIM Modulo Register
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 0x00 puts the MTIM in free-running mode. Writing to MTIMMOD resets the COUNT to 0x00 and clears TOF.
Reset sets the modulo to 0x00.