RX4111CE Jump to Top / Bottom
ETM62E-02 Seiko Epson Corporation 27
14.2. Wake-up Timer Interrupt Function
s
31.9 years
tRTN2 after the interrupt occurs, the /INT status is automatically released (/INT status changes from
low-level to Hi-z).
14.2.1. Related Registers For Function Of Wake-up Timer Interrupt Function
Table 19 Wake-up Timer Interrupt Register
Wake-up timerWake-up Timer Counter0,1 register can be used as a
RAM register. In such cases, stop the Wake-up timer function by writing 0 to the TE and TIE bits.
1) Down counter for Wake-up timer (Timer Counter )
This register is used to set the default (preset) value for the counter. Any count value from 1to 16777216can be set.
Be sure to write 0 to the TE bit before writing the preset value.
2) TSEL1, TSEL0 bit
The combination of these three bits is used to set the countdown period (source clock) for this function.
Table 20 TSEL bit Source Clock Select
1) The /INT pin's Auto reset time (tRTN2) varies as shown above according to the source clock setting.
2) The first countdown shortens than a source clock.
When selected 4096 Hz / 64 Hz / 1 Hz as a source clock, one period of error occurs at the maximum.
When selected 1/60 Hz, 1 Hz of error occurs at the maximum.
The example of the error of the first countdown: A preset value is 04h.
Figure 20 Wake-up Timer Initial Sequence (cycle error)