English
Language : 

SN8P2604A Datasheet, PDF (74/101 Pages) SONiX Technology Company – 8-Bit Micro-Controller
SN8P2604A
8-Bit Micro-Controller
8.2 TIMER 0 (T0)
8.2.1 OVERVIEW
The T0 is an 8-bit binary up timer and event counter. If T0 timer occurs an overflow (from FFH to 00H), it will continue
counting and issue a time-out signal to trigger T0 interrupt to request interrupt service.
The main purposes of the T0 timer is as following.
) 8-bit programmable up counting timer: Generates interrupts at specific time intervals based on the selected
clock frequency.
) Green mode wakeup function: T0 can be green mode wake-up time as T0ENB = 1. System will be wake-up by
T0 time out.
T0 Rate
(Fcpu/2~Fcpu/256) T0ENB
Fcpu
CPUM0,1
Internal Data Bus
Load
T0C 8-Bit Binary Up Counting Counter
T0 Time Out
8.2.2 T0M MODE REGISTER
0D8H
T0M
Read/Write
After reset
Bit 7
T0ENB
R/W
0
Bit 6
T0rate2
R/W
0
Bit 5
T0rate1
R/W
0
Bit 4
T0rate0
R/W
0
Bit 3
-
-
-
Bit 2
-
-
-
Bit 1
-
-
-
Bit 0
-
-
-
Bit [6:4]
T0RATE[2:0]: T0 internal clock select bits.
000 = fcpu/256.
001 = fcpu/128.
…
110 = fcpu/4.
111 = fcpu/2.
Bit 7
T0ENB: T0 counter control bit.
0 = Disable T0 timer.
1 = Enable T0 timer.
SONiX TECHNOLOGY CO., LTD
Page 74
Version 0.3