mc68hc908ld64 Freescale Semiconductor, Inc, mc68hc908ld64 Datasheet - Page 164

no-image

mc68hc908ld64

Manufacturer Part Number
mc68hc908ld64
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Interface Module (TIM)
11.10.3 TIM Counter Modulo Registers (TMODH:TMODL)
Data Sheet
164
NOTE:
NOTE:
Address:
Address:
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.
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.
Reset the TIM counter before writing to the TIM counter modulo registers.
Reset:
Reset:
Read:
Write:
Read:
Write:
Figure 11-5. TIM Counter Modulo Registers (TMODH:TMODL)
$000E
$000F
Bit15
Bit 7
Bit 7
Bit7
1
1
Timer Interface Module (TIM)
TMODH
TMODL
Bit14
Bit6
6
1
6
1
Bit13
Bit5
5
1
5
1
Bit12
Bit4
4
1
4
1
Bit11
Bit3
3
1
3
1
MC68HC908LD64
Bit10
Bit2
Freescale Semiconductor
2
1
2
1
Bit9
Bit1
1
1
1
1
Rev. 3.0
Bit 0
Bit 0
Bit8
Bit0
1
1

Related parts for mc68hc908ld64