MC908QL4 FREESCALE [Freescale Semiconductor, Inc], MC908QL4 Datasheet - Page 182

no-image

MC908QL4

Manufacturer Part Number
MC908QL4
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC908QL4MDT
Manufacturer:
FREESCALE
Quantity:
10
Part Number:
MC908QL4MDT
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC908QL4MDW1
Quantity:
11
Timer Interface Module (TIM)
15.8.3 TIM Counter Modulo Registers
The read/write TIM modulo registers contain the modulo value for the counter. When the counter reaches
the modulo value, the overflow flag (TOF) becomes set, and the 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.
182
Reset:
Reset:
Reset:
Reset:
Read:
Write:
Read:
Write:
Read:
Read:
If you read TCNTH during a break interrupt, be sure to unlatch TCNTL by
reading TCNTL before exiting the break interrupt. Otherwise, TCNTL
retains the value latched during the break.
Write:
Write:
Reset the counter before writing to the TIM counter modulo registers.
Figure 15-7. TIM Counter Modulo High Register (TMODH)
Figure 15-8. TIM Counter Modulo Low Register (TMODL)
Bit 15
Bit15
Bit 7
Bit 7
Bit 7
Bit 7
Bit 7
Bit7
1
1
0
0
Figure 15-5. TIM Counter High Register (TCNTH)
Figure 15-6. TIM Counter Low Register (TCNTL)
= Unimplemented
= Unimplemented
Bit 14
Bit14
Bit 6
Bit6
6
1
6
1
6
0
6
0
MC68HC908QL4 Data Sheet, Rev. 7
Bit 13
Bit13
Bit 5
Bit5
5
1
5
1
5
0
5
0
Bit 12
Bit12
NOTE
NOTE
Bit 4
Bit4
4
1
4
1
4
0
4
0
Bit 11
Bit11
Bit 3
Bit3
3
1
3
1
3
0
3
0
Bit10
Bit 10
Bit 2
Bit2
2
1
2
1
2
0
2
0
Bit 9
Bit 1
Bit9
Bit1
1
1
1
1
1
0
1
0
Freescale Semiconductor
Bit 0
Bit 0
Bit 0
Bit 8
Bit 0
Bit 0
Bit8
Bit0
1
1
0
0

Related parts for MC908QL4