Epson RX-8564LC Clock User Manual


 
RX8564 LC
Page27
ETM12E-01
3) AIE bit ( Alarm Interrupt Enable )
This bit is used to control interrupt signal output from the /INT pin when an alarm interrupt event has
occurred.
Writing "1" to this bit causes a low-level interrupt signal to be output from the /INT pin when an interrupt
event occurs.
When a "0" is written to this bit, output from the /INT pin is prohibited (disabled).
AIE
Data Description
0
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
(/INT status changes from low to Hi-z).
Write / Read
1
When an alarm interrupt event occurs, an interrupt signal is generated (/INT
status changes from Hi-z to low).
If the AIE bit value is changed from "0" to "1" without first canceling an
interrupt event (i.e., if the AF bit value remains "1"), the /INT pin is
immediately set to low level ("L").
To detect when an alarm interrupt event has occurred without having to set the /INT pin to low level,
monitor the AF bit value (to see if it changes from "0" to "1") while keeping the AIE bit value as "0".
13.3.3. Examples of alarm settings
1) Basic information about alarm settings
Four parameters can be set as alarm objects: minute, hour, day, and date.
Hour settings are based on a 24-hour clock.
To exclude a setting from possibly triggering an alarm interrupt, write "1" to the AE bit in the register
corresponding to the setting in question.
If all four AE bits have a value of "1", no alarm interrupt events will occur.
Alarm interrupt events occur when conditions change to become conditions which trigger an alarm.
2) Examples of alarm settings are listed below.
Reg0C[h] Reg0B[h] Reg0A[h]
Reg09[h]
Weekday
Alarm
[Weekday] set
Day
Alarm
[Day] set
Hour
Alarm
[Hour] set
Minute
Alarm
[Minute] set
At 7:30 AM every
Monday
01 h
(Monday
[Weekday])
AE bit "1"
([Day] ignored)
07h
(7:00 AM)
30h
(30 [Minute])
At 7:30 PM on the 15th
of each month
AE bit "1"
([Weekday]
ignored)
15 h
([15] days)
19 h
(7:00 PM)
30 h
(30 minutes)
At the top of each
=hour (one-hour cycle)
AE bit "1"
([Weekday]
ignored)
AE bit "1"
([Day] ignored)
AE bit "1"
([Hour] ignored)
00 h
(00 minutes)