EasyManua.ls Logo

Epson RX4111CE - Alarm Interrupt Function; Related Registers for Alarm Interrupt Functions; Table 28 Alarm Interrupt Registers; Table 29 WADA Bit (Week Alarm; Day Alarm Select)

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 32
14.3. Alarm Interrupt Function

 
.


14.3.1. Related Registers for Alarm Interrupt Functions.
Table 28 Alarm Interrupt Registers
Address[h]
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Bank2 - C
SEC Alarm
AE
40
20
10
8
4
2
1
Bank1 - 7
MIN Alarm
AE
40
20
10
8
4
2
1
8
HOUR Alarm
AE
20
10
8
4
2
1
9
WEEK Alarm
AE
6
5
4
3
2
1
0
DAY Alarm
20
10
8
4
2
1
D
Extension Register
FSEL1
FSEL0
USEL
TE
WADA
TSEL1
TSEL0
E
Flag Register
POR
z
UF
TF
AF
EVF
VLF
XST
F
Control Register
z
z
UIE
TIE
AIE
EIE
z
STOP


alarm interrupt event
can be used as a RAM register. In such cases, be
sure to write 0 to the AIE bit. When the AIE bit value is 1 and the Alarm registers is being used as a RAM register, /INT may
be changed to low level unintentionally.
1) Alarm registers
The second, minute, hour, day and date when an alarm interrupt event will occur is set using this register and
the WADA bit.
In the WEEK alarm /Day alarm register, the setting selected via the WADA bit determines whether WEEK alarm data or
DAY alarm data will be set. If WEEK has been selected via the WADA bit, multiple days can be set (such as Monday,
Wednesday, Friday, Saturday)
 1, the day will be ignored, and an interrupt occurs ones the actual time
matches the seconds, minutes and hour setting of the alarm register.
(Example) Write 80h (AE = 1) to the WEEK Alarm / DAY Alarm register (Reg - 9h):
Only the





2) WADA bit(Week Alarm / Day Alarm Select)
The alarm interrupt function uses either "Day" or "Week" as its target. The WADA bit is used to specify either WEEK or
DAY as the target for alarm interrupt events.
Table 29 WADA bit (Week Alarm / Day Alarm Select)
WADA
Data
Description
Write
0
Sets WEEK as target of alarm function
1
Sets DAY as target of alarm function

Table of Contents

Related product manuals