9 REAL-TIME CLOCK (RTC)
S1C17651 TECHNICAL MANUAL
Seiko Epson Corporation
9-7
D[15:10] Reserved
D9
INT1DEN: 1-Day Interrupt Enable Bit
Enables or disables 1-day interrupt requests to the ITC.
D8
INTHDEN: Half-Day Interrupt Enable Bit
Enables or disables half-day interrupt requests to the ITC.
D7
INT1HEN: 1-Hour Interrupt Enable Bit
Enables or disables 1-hour interrupt requests to the ITC.
D6
INT10MEN: 10-Minute Interrupt Enable Bit
Enables or disables 10-minute interrupt requests to the ITC.
D5
INT1MEN: 1-Minute Interrupt Enable Bit
Enables or disables 1-minute interrupt requests to the ITC.
D4
INT10SEN: 10-Second Interrupt Enable Bit
Enables or disables 10-second interrupt requests to the ITC.
D3
INT1HZEN: 1 Hz Interrupt Enable Bit
Enables or disables 1 Hz interrupt requests to the ITC.
D2
INT4HZEN: 4 Hz Interrupt Enable Bit
Enables or disables 4 Hz interrupt requests to the ITC.
D1
INT8HZEN: 8 Hz Interrupt Enable Bit
Enables or disables 8 Hz interrupt requests to the ITC.
D0
INT32HZEN: 32 Hz Interrupt Enable Bit
Enables or disables 32 Hz interrupt requests to the ITC.
RTC Interrupt Flag Register (RTC_IFLG)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
RTC Interrupt
Flag Register
(RTC_IFLG)
0x56c4
(16 bits)
D15–10 –
reserved
–
0 when being read.
D9
INT1D
1-day interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D8
INTHD
Half-day interrupt flag
0
R/W
D7
INT1H
1-hour interrupt flag
0
R/W
D6
INT10M
10-minute interrupt flag
0
R/W
D5
INT1M
1-minute interrupt flag
0
R/W
D4
INT10S
10-second interrupt flag
0
R/W
D3
INT1HZ
1 Hz interrupt flag
0
R/W
D2
INT4HZ
4 Hz interrupt flag
0
R/W
D1
INT8HZ
8 Hz interrupt flag
0
R/W
D0
INT32HZ
32 Hz interrupt flag
0
R/W
This register indicates RTC interrupt cause occurrence status. When the corresponding interrupt enable bit is set to 1,
the interrupt flag will be set to 1 in the interrupt cycles and the interrupt request will be sent to the ITC. The inter-
rupt flags are reset to 0 by writing 1.
1 (R):
Cause of interrupt has occurred
0 (R):
No cause of interrupt has occurred (default)
1 (W):
Flag is reset
0 (W):
Ignored
D[15:10] Reserved
D9
INT1D: 1-Day Interrupt Flag Bit
Indicates 1-day interrupt cause occurrence status. INT1D is set to 1 at the same time the hour counter
changes from 23 to 0 (in 24-hour mode) or 11pm to 12am (in 12-hour mode).
D8
INTHD: Half-Day Interrupt Flag Bit
Indicates half-day interrupt cause occurrence status. INTHD is set to 1 at the same time the hour
counter changes from 11 to 12, 23 to 0 (in 24-hour mode), or 11am to 12pm, 11pm to 12am (in 12-hour
mode).