Epson RX-8581JE Applications Manual page 23

Real time clock module
Table of Contents

Advertisement

RX - 8581 SA
JE
/
3) AF (Alarm Flag) bit
When this flag bit value is already set to "0", occurrence of an alarm interrupt event changes it to "1". When this
flag bit value is "1", its value is retained until a "0" is written to it.
AF
Write
Read
4) AIE (Alarm Interrupt Enable) bit
When an alarm interrupt event occurs (when the AF bit value changes from "0" to "1"), this bit's value specifies
whether an interrupt signal is generated (/INT status changes from Hi-Z to low) or is not generated (/INT status
remains Hi-Z).
AIE
Write/Read
8.5.2. Examples of alarm settings
1) Example of alarm settings when "Day" has been specified (and WADA bit = "0")
Monday through Friday, at 7:00 AM
Minute value is ignored
Every Saturday and Sunday, for 30 minutes
each hour
Every day, at 6:59 AM
: Don't care
2) Example of alarm settings when "Day" has been specified (and WADA bit = "1")
First of each month, at 7:00 AM
Minute value is ignored
th
15
of each month, for 30 minutes each
hour
Hour value is ignored
Every day, at 6:59 PM
: Don't care
NB
/
Data
The AF bit is cleared to zero to prepare for the next status detection
0
Clearing this bit to zero enables /INT low output to be canceled (/INT remains Hi-Z) when an alarm
interrupt event has occurred.
1
This bit is invalid after a "1" has been written to it.
0
Alarm interrupt events are not detected.
Alarm interrupt events are detected.
1
(Result is retained until this bit is cleared to zero.)
Data
1) When an alarm interrupt event occurs, an interrupt signal is not
generated or is canceled (/INT status remains Hi-Z).
2) When an alarm interrupt event occurs, the interrupt signal is canceled
0
(/INT status changes from low to Hi-Z).
Even when the AIE bit value is "0" another interrupt event may change the /INT status to low
(or may hold /INT = "L").
When an alarm interrupt event occurs, an interrupt signal is generated (/INT
status changes from Hi-Z to low).
1
When an alarm interrupt event occurs, low-level output from the /INT pin occurs only when the
AIE bit value is "1". This value is retained (not automatically cleared) until the AF bit is cleared
to zero.
Day is specified
WADA bit = "0"
Hour value is ignored
Day is specified
WADA bit = "1"
Description
Description
Reg – A
bit
bit
bit
bit
bit
bit
7
6
5
4
3
2
AE
S
F
T
W
T
0
0
1
1
1
1
0
1
0
0
0
0
0
1
1
1
1
1
1
Reg - A
bit
bit
bit
bit
bit
bit
7
6
5
4
3
2
AE
20
10
08
04
0
0
0
0
0
0
0
0
0
1
0
1
1
Page - 20
Reg - 9
bit
bit
HOUR
1
0
Alarm
M
S
1
0
07 h
80 h
0
1
80 h
FF h
1
1
18 h
Reg - 9
bit
bit
HOUR
1
0
Alarm
02
01
0
1
07 h
80 h
0
1
80 h
FF h
18 h
MQ372-02
Reg - 8
MIN
Alarm
FF h
30 h
59 h
Reg - 8
MIN
Alarm
FF h
30 h
59 h

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx-8581nbRx-8581sa

Table of Contents