SN8F2250B Series
USB 2.0 Full-Speed 8-Bit Micro-Controller
8.3 TIMER T1 (T1)
8.3.1 OVERVIEW
The T1 is an 16-bit binary up timer and event counter. If T1 timer occurs an overflow (from FFFFH to 0000H), it will
continue counting and issue a time-out signal to trigger T1 interrupt to request interrupt service.
The main purpose of the T1 timer is as following.
)
)
16-bit programmable up counting timer: Generates interrupts at specific time intervals based on the selected
clock frequency.
Green mode wakeup function: T1 can be green mode wake-up time as T1ENB = 1. System will be wake-up by
T1 time out.
T1 Rate
(Fcpu/2~Fcpu/256)
T1ENB
Internal Data Bus
Load
Fcpu
T1C 16-Bit Binary Up Counting Counter
T1 Time Out
CPUM0,1
8.3.2 T1M MODE REGISTER
0DAH
T1M
Read/Write
After reset
Bit 7
T1ENB
R/W
0
Bit 6
T1rate2
R/W
Bit 5
T1rate1
R/W
Bit 4
T1rate0
R/W
Bit 3
Bit 2
Bit 1
Bit 0
-
-
-
-
-
-
-
-
-
0
0
0
Bit [6:4] T1RATE[2:0]: T1 internal clock select bits.
000 = fcpu/256.
001 = fcpu/128.
…
110 = fcpu/4.
111 = fcpu/2.
Bit 7
T1ENB: T1 counter control bit.
0 = Disable T1 timer.
1 = Enable T1 timer.
SONiX TECHNOLOGY CO., LTD
Page 79
Version 1.1