RX8010
SJ
Page
−
21
ETM37E-06
4) AIE bit
(
Alarm Interrupt Enable
)
This bit is used to control output of interrupt signals from the /IRQ1 pin when an Alarm interrupt event has
occurred.
AIE
Data
Description
Write
0
1) When an alarm interrupt event occurs, an interrupt signal is not
generated or is canceled (/IRQ1 status remains Hi-z).
2) When an alarm interrupt event occurs, the interrupt signal is canceled
(/IRQ1 status changes from low to Hi-z).
1
When an alarm interrupt event occurs, an interrupt signal is generated
(/IRQ1 status changes from Hi-z to low).
∗
The AIE bit is only output control of the /IRQ1 terminal. It is necessary to clear an AF flag to cancel alarm.
13.3.2. Examples of alarm settings
1) Example of alarm settings when "Week" has been specified (and WADA bit
=
"0")
Week is specified
WADA bit = "0"
Week Alarm
HOUR
Alarm
MIN
Alarm
bit
7
AE
bit
6
S
bit
5
F
bit
4
T
bit
3
W
bit
2
T
bit
1
M
bit
0
S
Monday through Friday, at 7:00 AM
∗
Minute value is ignored
0
0
1
1
1
1
1
0
07 h
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
Every day, at 6:59 AM
0
1
1
1
1
1
1
1
18 h
59 h
1
Χ
Χ
Χ
Χ
Χ
Χ
Χ
Χ
: Don't care
2) Example of alarm settings when "Day" has been specified (and WADA bit
=
"1")
Day is specified
WADA bit = "1"
Day Alarm
HOUR
Alarm
MIN
Alarm
bit
7
AE
bit
6
•
bit
5
20
bit
4
10
bit
3
08
bit
2
04
bit
1
02
bit
0
01
First of each month, at 7:00 AM
∗
Minute value is ignored
0
0
0
0
0
0
0
1
07 h
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
Every day, at 6:59 PM
1
Χ
Χ
Χ
Χ
Χ
Χ
Χ
18 h
59 h
Χ
: Don't care