Tim Counter Modulo Registers - Motorola MC68HC908GP32 Technical Data Manual

Table of Contents

Advertisement

22.10.3 TIM Counter Modulo Registers

NOTE:
MC68HC908GP32
MC68HC08GP32
MOTOROLA
Freescale Semiconductor, Inc.
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.
Address: T1MODH, $0023 and T2MODH, $002E
Bit 7
6
Read:
Bit 15
14
Write:
Reset:
1
1
Figure 22-7. TIM Counter Modulo Register High (TMODH)
Address: T1MODL, $0024 and T2MODL, $002F
Bit 7
6
Read:
Bit 7
6
Write:
Reset:
1
1
Figure 22-8. TIM Counter Modulo Register Low (TMODL)
Reset the TIM counter before writing to the TIM counter modulo registers.
Rev. 6
Timer Interface Module (TIM)
For More Information On This Product,
Go to: www.freescale.com
5
4
3
13
12
11
1
1
1
5
4
3
5
4
3
1
1
1
Timer Interface Module (TIM)
I/O Registers
2
1
Bit 0
10
9
Bit 8
1
1
1
2
1
Bit 0
2
1
Bit 0
1
1
1
Technical Data
359

Advertisement

Table of Contents
loading

Table of Contents