SN8P1602B
8-Bit Micro-Controller
TIMER0 (TC0)
OVERVIEW
The TC0 is an 8-bit binary up timer and event counter, using TC0M register to select TC0C’s clock source from GTMR
or from external INT0 pin ( falling edge trigger) for counting a precision time. If TC0 timer occurs an overflow (from FFH
to 00H), it will continue counting and issue a time-out signal to trigger TC0 interrupt to request interrupt service.
÷
2(8-TC0Rate)
Internal data bus
pre_load
TC0cks
TC0enb
Fcpu
TC0C
8-bit binary counter
TC0 Time out
INT0
(schmitter trigger)
CPUM1,0
The main purposes of the TC0 timer is as following.
ꢀ
ꢀ
8-bit programmable timer: Generates interrupts at specific time intervals based on the selected clock
frequency.
External event counter: Counts system “events” based on falling edge detection of external clock signals at
the INT0 input pin.
SONiX TECHNOLOGY CO., LTD
Page 50
Version 1.2