14. How to use
RX4111CE
Jump to
ETM62E-02
Seiko Epson Corporation
35
14.4. Time Update Interrupt Function
The interrupt of time updating is generated at the seconds update or the minutes update.
This interruption output is released to Hi-Z from active Low automatically.
This auto released time (tRTN1) is 7.324 ms to 7.644 ms, from time updating.
14.4.1. Related Registers For Time Update Interrupt Functions.
Table 34 Time Update Interrupt Registers
Bank1
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Dh
Extension Register
FSEL1 FSEL0
USEL
TE
WADA
▲
TSEL1 TSEL0
Eh
Flag Register
POR
z
UF
TF
AF
EVF
VLF
XST
Fh
Control Register
z
z
UIE
TIE
AIE
EIE
z
STOP
Before entering settings for operations, it is recommended to first set the UIE bit to 0 in order to avoid inadvertent hardware
interrupt at setting.
When the STOP bit value is 1
time update interrupt
events do not occur.
Although the time update interrupt function cannot be fully stopped, if 0 is written to the UIE bit, the time update interrupt
function can be prevented from changing the /INT pin status to low.
1) USEL bit (Update Interrupt Select)
This bit is used to select "second" update or "minute" update as the timing for generation of time update interrupt
events.
Table 35 USEL bit (Update Interrupt Select)
USEL
Data
Description
Write
0
Selects "second update" (once per second) as the timing for generation of
interrupt events
1
Selects "minute update" (once per minute) as the timing for generation of
interrupt events
2) UF bit
(Update Flag)
This flag bit value changes from 0 to 1 when a time update interrupt event occurs.
Table 36 UF bit (Update Flag)
UF
Data
Description
Write
0
When UF bit clears to 0, /INT output returns to Hi-Z immediately.
1
Invalid (writing a 1 will be ignored
Read
0
Time update interrupt events are not detected.
1
Time update interrupt events are detected.
(The result is retained until this bit is cleared to zero.)
3) UIE bit
(Update Interrupt Enable)
This bit selects whether to generate an interrupt signal or to not generate it.
Table 37 UIE bit (Update Interrupt Enable)
UIE
Data
Description
Write / Read
0
1) The interrupt signal due to time update is not output.
2) The time update interruption signal is immediately stopped.
Note. as for INT-pin, alarm, timer and time update interrupts are output as
OR.
1
When a time update occurs, an interrupt signal is generated. /INT status
changes from Hi-z to Low.
7.324 ms to 7.644 ms after the interrupt occurs, the active Low is
automatically released. /INT status changes from Low to Hi-Z.(tRTN1)