mc68hc08qa24 Freescale Semiconductor, Inc, mc68hc08qa24 Datasheet - Page 330

no-image

mc68hc08qa24

Manufacturer Part Number
mc68hc08qa24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Interface B (TIMB)
21.9.2 TIMB Counter Registers
Technical Data
328
NOTE:
The two read-only TIMB counter registers contain the high and low bytes
of the value in the TIMB counter. Reading the high byte (TBCNTH)
latches the contents of the low byte (TBCNTL) into a buffer. Subsequent
reads of TBCNTH do not affect the latched TBCNTL value until TBCNTL
is read. Reset clears the TIMB counter registers. Setting the TIMB reset
bit (TRST) also clears the TIMB counter registers.
If TBCNTH is read during a break interrupt, be sure to unlatch TBCNTL
by reading TBCNTL before exiting the break interrupt. Otherwise,
TBCNTL retains the value latched during the break.
Reset:
Reset:
Read:
Read:
Write:
Write:
Register Name and Address: TBCNTH — $002E
Register Name and Address: TBCNTL — $002F
Figure 21-5. TIMB Counter Registers (TBCNTH and TBCNTL)
Bit 15
Bit 7
Bit 7
Bit 7
R
R
R
0
0
Timer Interface B (TIMB)
= Reserved
14
R
R
6
0
6
6
0
13
R
R
5
0
5
5
0
12
R
R
4
0
4
4
0
11
R
R
3
0
3
3
0
Freescale Semiconductor
10
R
R
2
0
2
2
0
MC68HC08QA24
R
R
1
9
0
1
1
0
Bit 0
Bit 8
Bit 0
Bit 0
R
R
0
0

Related parts for mc68hc08qa24