
RX8111CE
Page
−
30
ETM61E-01
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 28 AIE bit (Alarm Interrupt Enable)
AIE
Data
Description
Write
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).
1
When an alarm interrupt event
occurs, an interrupt signal is generated
(/INT status changes from Hi-Z to low).
The AIE bit is only output control of the /INT terminal. It is necessary to clear an AF flag to cancel alarm.
14.3.2. Examples of alarm settings
Example of alarm settings when "Week" has been specified (and WADA bit
=
"0")
Table 29 WEEK alarm example 1
Week is specified
WADA bit = "0"
bit
7
AE
bit
6
S
bit
5
F
bit
4
T
bit
3
W
bit
2
T
bit
1
M
bit
0
S
HOUR
Alarm
MIN
Alarm
SEC
Alarm
Monday through Friday, at 7:00 AM
1 minute (60 sec) alarm
0
0
1
1
1
1
1
0
07
h
00h
AE
bit = 1
Every Saturday and Sunday, for 30 minutes
each hour
Hour value is ignored
0
1
0
0
0
0
0
1
AE
bit =
1
30
h
00h
Every day, at 6:59:30 AM
0
1
1
1
1
1
1
1
18
h
59
h
30h
1
X X X X X X X
X : don’t care
1) Example of alarm settings when "Day" has been specified (and WADA bit
=
"1")
Table 30 WEEK alarm example 2
Day is specified
WADA bit = "1"
bit
7
AE
bit
6
•
bit
5
20
bit
4
10
bit
3
08
bit
2
04
bit
1
02
bit
0
01
HOUR
Alarm
MIN
Alarm
SEC
Alarm
First of each month, at 7:00 AM
1 minute (60sec) alarm
Second value is ignored
0
0
0
0
0
0
0
1
07
h
AE
bit
"
1
"
AE
bit = 1
15
th
of each month, for 30 minutes each
hour Hour value is ignored
0
0
0
1
0
1
0
1
AE
bit = 1
30
h
00h
Every day, at 6:59:30 PM
1
X X X X X X X
18
h
59
h
30h
X : don't care