Datasheet
Timer Interface Module (TIM)
I/O Registers
MC68HC908GR8 — Rev 4.0 Technical Data
MOTOROLA Timer Interface Module (TIM) 353
22.10.3 TIM Counter Modulo Registers
The read/write TIM modulo registers contain the modulo value for the
TIM counter. When the TIM counter reaches the modulo value, the
overflow flag (TOF) becomes set, and the TIM counter resumes counting
from $0000 at the next timer clock. Writing to the high byte (TMODH)
inhibits the TOF bit and overflow interrupts until the low byte (TMODL) is
written. Reset sets the TIM counter modulo registers.
NOTE: Reset the TIM counter before writing to the TIM counter modulo registers.
Address: T1MODH, $0023 and T2MODH, $002E
Bit 7654321Bit 0
Read: Bit 15 14 13 12 11 10 9 Bit 8
Write:
Reset:11111111
= Unimplemented
Figure 22-7. TIM Counter Modulo Register High (TMODH)
Address: T1MODL, $0024 and T2MODL, $002F
Bit 7654321Bit 0
Read: Bit 7 654321Bit 0
Write:
Reset:11111111
= Unimplemented
Figure 22-8. TIM Counter Modulo Register Low (TMODL)
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...