RX8010
SJ
Page
−
23
ETM37E-06
13.4. Time Update Interrupt Function
The time update interrupt function generates interrupt events at one-second or one-minute intervals, according to
the timing of the internal clock. This /IRQ1 status is automatically cleared
13.4.1. Related registers for time update interrupt functions.
Address
[h]
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
1D
Extension Register
FSEL1
FSEL0 USEL
TE
WADA TSEL2 TSEL1 TSEL0
1E
Flag Register
UF
TF
AF
VLF
1F
Control Register
TEST
STOP
UIE
TIE
AIE
TSTP
-
-
∗
Before entering settings for operations, we recommend writing a "0" to the UIE bit to prevent hardware interrupts
from occurring inadvertently while entering settings.
∗
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 /IRQ1 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.
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.
UF
Data
Description
Write
0
Clearing this bit to zero enables /IRQ1 low output to be canceled
(/IRQ1 remains Hi-z) when an time update interrupt event has occurred.
1
This bit is invalid after a "1" has been written to it.
Read
0
−
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.
UIE
Data
Description
Write / Read
0
1) Does not generate an interrupt signal. (/IRQ1 remains Hi-z)
2) Cancels interrupt signal triggered by time update interrupt event (/IRQ1
changes from low to Hi-z).
1
When an Update interrupt event occurs, an interrupt signal is generated.