Epson RX-8581JE Applications Manual page 20

Real time clock module
Table of Contents

Advertisement

RX - 8581 SA
JE
/
8.4.2. Related registers for time update interrupt functions.
Address
D
Extension Register
E
Flag Register
F
Control Register
)
"o" indicates write-protected bits. A zero is always read from these bits.
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 or RESET 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 (Update Interrupt Select) bit
This bit is used to select "second" update or "minute" update as the timing for generation of time update interrupt
events.
USEL
Write/Read
2) UF (Update Flag) bit
Once it has been set to "0", this flag bit value changes from "0" to "1" when a time update interrupt event occurs.
When this flag bit = "1" its value is retained until a "0" is written to it.
UF
Write
Read
3) UIE (Update Interrupt Enable) bit
When a time update interrupt event occurs (UF bit value changes from "0" to "1"), this bit selects whether to
generate an interrupt signal (/INT status changes from Hi-Z to low) or to not generate it (/INT status remains
Hi-Z).
UIE
Write/Read
NB
/
Function
bit 7
TEST
!
!
Data
Selects "second update" (once per second) as the timing for generation of
0
interrupt events
Selects "minute update" (once per minute) as the timing for generation of
1
interrupt events
Data
The UF bit is cleared to zero to prepare for the next status detection
0
Clearing this bit to zero does not enable the /INT low output status to be cleared (to Hi-Z).
1
This bit is invalid after a "1" has been written to it.
0
Time update interrupt events are not detected.
Time update interrupt events are detected.
1
(The result is retained until this bit is cleared to zero.)
Data
1) Does not generate an interrupt signal when a time update interrupt event
occurs (/INT remains Hi-Z)
2) Cancels interrupt signal triggered by time update interrupt event (/INT
0
changes from low to Hi-Z).
Even when the UIE bit value is "0" another interrupt event may change the /INT status to low (or
may hold /INT = "L").
When a time update interrupt event occurs, an interrupt signal is generated
(/INT status changes from Hi-Z to low).
1
When a time update interrupt event occurs, low-level output from the /INT pin occurs only when
the UIE bit value is "1". Up to 7.8 ms after the interrupt occurs, the /INT status is automatically
cleared (/INT status changes from low to Hi-Z).
bit 6
bit 5
bit 4
USEL
WADA
TE
UF
!
TF
UIE
!
TIE
Description
Description
Description
Page - 17
bit 3
bit 2
bit 1
!
!
TSEL1
AF
!
VLF
AIE
!
STOP
MQ372-02
bit 0
TSEL0
!
RESET

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx-8581nbRx-8581sa

Table of Contents