8/16-BIT TIMER
(TIMER 2 AND TIMER 3)
T2STR T2STP T2CS0 T2CS1
2
Rising edge
Falling edge
MPX
Both edges
4.0 µs
0.8 µs
1.6 µs
MPX
3.2 µs
T3STR T3STP T3CS0 T3CS1
HARDWARE CONFIGURATION
2.9 8/16-BIT TIMER (TIMER 2 AND TIMER 3)
Three internal clock pulses and one external clock pulse can be selected.
External input can be selected from the rising edge, falling edge, or both
edges.
Operable in 8-bit 2-ch mode or 16-bit 1-ch mode
Block Diagram
—
CK
8-bit counter
CLR
Comparator
LOAD
Compare data latch
Data register
Data register
Compare data latch
LOAD
Comparator
CLR
8-bit counter
CK
2
—
Fig. 2.25 8/16-bit Timer Block Diagram
2-48
—
T2IE
T2IF
CD
EQ
EQ
—
T3IE
T3IF
Interrupt request
IRQ3
Internal data bus
Interrupt request
IRQ4