MC68HC908LJ12CPB FREESCALE [Freescale Semiconductor, Inc], MC68HC908LJ12CPB Datasheet - Page 201

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Timer Interface Module (TIM)
11.10.2 TIM Counter Registers
Technical Data
202
NOTE:
Address: T1CNTH, $0021 and T2CNTH, $002C
Address: T1CNTL, $0022 and T2CNTL, $002D
The two read-only TIM counter registers contain the high and low bytes
of the value in the TIM counter. Reading the high byte (TCNTH) latches
the contents of the low byte (TCNTL) into a buffer. Subsequent reads of
TCNTH do not affect the latched TCNTL value until TCNTL is read.
Reset clears the TIM counter registers. Setting the TIM reset bit (TRST)
also clears the TIM counter registers.
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.
Reset:
Reset:
Read:
Write:
Read:
Write:
Bit 15
Figure 11-5. TIM Counter Registers High (TCNTH)
Figure 11-6. TIM Counter Registers Low (TCNTL)
Bit 7
Bit 7
Bit 7
0
0
Timer Interface Module (TIM)
= Unimplemented
= Unimplemented
14
6
0
6
6
0
13
5
0
5
5
0
12
4
0
4
4
0
11
3
0
3
3
0
MC68HC908LJ12
Freescale Semiconductor
10
2
0
2
2
0
9
1
0
1
1
0
Rev. 2.1
Bit 0
Bit 8
Bit 0
Bit 0
0
0

Related parts for MC68HC908LJ12CPB