Datasheet

13.6.3 MTIM Counter Register (MTIMx_CNT)
MTIM_CNT is the read-only value of the current MTIM count of the 8-bit counter.
Address: Base address + 2h offset
Bit 7 6 5 4 3 2 1 0
Read COUNT
Write
Reset
0 0 0 0 0 0 0 0
MTIMx_CNT 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.
13.6.4 MTIM Modulo Register (MTIMx_MOD)
Address: Base address + 3h offset
Bit 7 6 5 4 3 2 1 0
Read
MOD
Write
Reset
0 0 0 0 0 0 0 0
MTIMx_MOD 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 0x00
puts the MTIM in free-running mode. Writing to MTIM_MOD resets the COUNT to 0x00 and clears TOF.
Reset sets the modulo to 0x00.
13.7 Functional description
The MTIM consists of a main 8-bit up-counter with an 8-bit modulo register, a clock
source selector, and a prescaler block with nine selectable values. The module also
contains software-selectable interrupt logic.
Functional description
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
390 Freescale Semiconductor, Inc.