2
9.
Block Diagram of 16-bit Timer/Counter
The 16-bit timer/counter consists of the following five blocks:
• Count clock selector
• Edge detector
• 16-bit timer count register (TCR)
• 16-bit timer control register (TMCR)
• Lower 8-bit latch
n Block Diagram of 16-bit Timer/Counter
TMCR
IRQ6
*: t
: Instruction cycle
inst
182
CHAPTER 9 16-BIT TIMER/COUNTER
—
—
TCR TCS1 TCS0 TCEF TCIE
P34/EC
(Falling edge)
Edge
Pin
Edge
(Rising edge)
Edge detector
Figure 9.2 Block Diagram of 16-bit Timer/Counter
Internal data bus
Counter clear
Overflow
TCS
Upper 8 bits
Select
*
1t
inst
Count clock
Count
selector
clock
TCR
Lower 8 bits
TCLR
TCHR
Latch on
reading
TCHR
Lower 8-bit
latch
Read
data
MB89620 series