MC68HC908KX2 MOTOROLA [Motorola, Inc], MC68HC908KX2 Datasheet - Page 238

no-image

MC68HC908KX2

Manufacturer Part Number
MC68HC908KX2
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Timer Interface Module (TIM)
16.8.3 TIM Counter Modulo Registers
Technical Data
238
NOTE:
Register name and address:
Register name and address:
Figure 16-6. TIM Counter Modulo Registers (TMODH and TMODL)
The read/write TIM modulo registers (TMODH and TMODL) 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.
Reset the TIM counter before writing to the TIM counter modulo registers.
Reset:
Reset:
Read:
Read:
Write:
Write:
Bit 15
Bit 7
Bit 7
Bit 7
1
1
Timer Interface Module (TIM)
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 — Rev. 1.0
14
6
1
6
6
1
TMODH — $0023
TMODL — $0024
13
5
1
5
5
1
12
4
1
4
4
1
11
3
1
3
3
1
10
2
1
2
2
1
1
9
1
1
1
1
MOTOROLA
Bit 0
Bit 8
Bit 0
Bit 0
1
1

Related parts for MC68HC908KX2