14. Functions
RX8130CE
Jump to
ETM50E-07
Seiko Epson Corporation
30
14.2.3. Wakeup timer interrupt interval (example)
The combination of the source clock settings and wakeup timer countdown setting sets interrupt interval, as shown
in the following examples.
Table 22 Wakeup timer interrupt cycles
Timer Counter
setting
1
65535
Source clock
4096 Hz
TSEL2
=
0
TSEL1,
0
=
0,
0
64 Hz
TSEL2
=
0
TSEL1,
0
=
0,
1
1
Hz
TSEL2
=
0
TSEL1,
0
=
1,
0
1
/
60 Hz
TSEL2
=
0
TSEL1,
0
=
1,
1
1
/
3600 Hz
TSEL2
=
1
TSEL1,
0
=
0,
0
0
1
244.14
s
15.625 ms
1 s
1 min
1 h
410
100.10 ms
6.406 s
410 s
410 min
410 h
3840
0.9375 s
60.000 s
3840 s
3840 min
3840 h
4096
1.0000 s
64.000 s
4096 s
4096 min
4096 h
65535
15.9998
s
1023.984
s
65535 s
65535 mi
n
65535 h
14.2.4. Diagram of wakeup timer interrupt function
Figure 20 Wakeup timer inner block diagram
/IRQ
16-bit counter
TE
Source clock
4096 Hz
64 Hz
1 Hz
1/60 Hz
1/3600 Hz
TSEL[2:0]
TIE bit
TF ( “0” clear )
TF Flag
/tRTN
Timer Control
Circuit