mc68hc908gp20 Freescale Semiconductor, Inc, mc68hc908gp20 Datasheet - Page 370

no-image

mc68hc908gp20

Manufacturer Part Number
mc68hc908gp20
Description
M68hc08 Family Of 8-bit Microcontroller Units Mcus
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908gp20CFB
Manufacturer:
FREESCALE
Quantity:
1 831
22.10.4 TIMA Counter Registers
Advance Information
370
NOTE:
Address: T1CNTL, $0022 and T1CNTL, $002D
Address: T1CNTH, $0021 and T1CNTH, $002C
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:
Bit 15
Figure 22-9. TIM Counter Register High (TCNTH)
Figure 22-10. TIM Counter Register Low (TCNTL)
Bit 7
Bit 7
Bit 7
0
0
= 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
MC68HC908GP20
Freescale Semiconductor
10
2
0
2
2
0
1
9
0
1
1
0
Rev 2.1
Bit 0
Bit 8
Bit 0
Bit 0
0
0

Related parts for mc68hc908gp20