S3F80P5_UM_ REV1.00 BASIC TIMER and TIMER 0
MUX
MUXDIV
R
8-Bit Up-Counter
(T0CNT)
8-Bit Compatator
Timer0 Buffer
Register
Bits5, 4
Bit0
Bit1
IRQ0
Clear
Data Bus
Bit0
IRQ0
OVF
8-Bit Up Counter
(BTCNT,Read-Only)
DIV
R
X
IN
X
IN
OVF RESE
T
Data Bus
Clear
When BTCNT.4 is set after releasing from
RESET or STOP mode, CPU clock starts.
Match
(2)
Basic Timer Control Register
(Write'1010xxxxB' to disable.)
Bits7, 6
Bits3, 2
Bit1 RESET or STOP
(Timer0 Overflow)
Bit2
(Timer0 Match)
T0PW M
Basic Timer Control Register
Timer0 Control Register
Match Signal
T0CON.3
T0OVF
Data Bus
Timer0 Data Register
(T0DATA)
1/4096
1/8
1/256
1/4096
1/1024
1/128
P3.0/T0CAP
Bits5, 4
R
P3.1/T0CK GND
Bit3
1/16384
NOTES:
1. During a power-on reset operation, the CPU is idle during the required oscillation
stabilization interval(until bit4 of the basic timer c ounter overflows
2. It is available only in using internal mode.
Figure 10-7. Basic Timer and Timer 0 Block Diagram 10-9