EasyManua.ls Logo

Epson RX4111CE - Examples of Alarm Settings; Table 30 AF Bit (Alarm Flag); Table 31 AIE Bit (Alarm Interrupt Enable); Table 32 Alarm Setting Ex1

Epson RX4111CE
61 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
14. How to use
RX4111CE Jump to Top / Bottom
ETM62E-02 Seiko Epson Corporation 33
3) AF bit(Alarm Flag)
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.
Table 30 AF bit (Alarm Flag)
AF
Data
Description
Write
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
Invalid (writing a 1 will be ignored)
Read
0
Alarm interrupt events are not detected.
1
Alarm interrupt events are detected.
(Result is retained until this bit is cleared to zero.)
4) AIE bit(Alarm Interrupt Enable)
This bit is used to control output of interrupt signals from the /INT pin when an Alarm interrupt event has occurred.
Table 31 AIE bit (Alarm Interrupt Enable)
AIE
Data
Description
Write
0
1) The Alarm interrupt signal is not output.
2) The Alarm interrupt signal during output is immediately released.
Note. as for INT-pin, Alarm, Wake-up Timer and Time update interrupts are
output as OR.
1
When an Alarm interrupt event
/INT status changes from Hi-z to low
The AIE bit is only output control of the /INT pin. It is necessary to clear an AF flag to cancel alarm.
14.3.2. Examples Of Alarm Settings
1) Example of alarm settings when "Week" has been specified (and WADA bit=0)
Table 32 Alarm Setting Ex1.


Week Alarm





















bit 1

Hour value is ignored
bit1







2) Example of alarm settings when "Day" has been specified (and WADA bit=1)
Table 33 Alarm Setting Ex2.

WADA bit = 1
Day Alarm


























bit1
bit1




bit1








Table of Contents

Related product manuals