MC68HC908AP16CFA MOTOROLA [Motorola, Inc], MC68HC908AP16CFA Datasheet - Page 197

no-image

MC68HC908AP16CFA

Manufacturer Part Number
MC68HC908AP16CFA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
11.9.2 TIM Counter Registers
MC68HC908AP Family — Rev. 2.5
MOTOROLA
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:
Read:
Write:
Write:
Freescale Semiconductor, Inc.
For More Information On This Product,
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
Go to: www.freescale.com
= 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
Timer Interface Module (TIM)
10
2
0
2
2
0
1
9
0
1
1
0
I/O Registers
Data Sheet
Bit 0
Bit 8
Bit 0
Bit 0
0
0
197

Related parts for MC68HC908AP16CFA