14 REAL-TIME CLOCK (RTC)
14-6
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
RTC interrupt enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
RTCINTE
15–10 –
0x00
–
R
–
9
1DIE
0
H0
R/W
8
HDIE
0
H0
R/W
7
1HIE
0
H0
R/W
6
10MIE
0
H0
R/W
5
1MIE
0
H0
R/W
4
10SIE
0
H0
R/W
3
1HZIE
0
H0
R/W
2
4HZIE
0
H0
R/W
1
8HZIE
0
H0
R/W
0
32HZIE
0
H0
R/W
Bits 15–10 Reserved
Bit 9
1Die
Bit 8
hDie
Bit 7
1hie
Bit 6
10Mie
Bit 5
1Mie
Bit 4
10Sie
Bit 3
1hZie
Bit 2
4hZie
Bit 1
8hZie
Bit 0
32hZie
These bits enable RTC interrupts.
1 (R/W): Enable interrupts
0 (R/W): Disable interrupts
The following shows the correspondence between the bit and interrupt:
RTCINTE.1DIE bit:
One day interrupt
RTCINTE.HDIE bit: Half-day interrupt
RTCINTE.1HIE bit: 1 hour interrupt
RTCINTE.10MIE bit: 10 minutes interrupt
RTCINTE.1MIE bit: 1 minute interrupt
RTCINTE.10SIE bit: 10 seconds interrupt
RTCINTE.1HZIE bit: 1 Hz interrupt
RTCINTE.4HZIE bit: 4 Hz interrupt
RTCINTE.8HZIE bit: 8 Hz interrupt
RTCINTE.32HZIE bit: 32 Hz interrupt
RTC interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
RTCINTF
15–10 –
0x00
–
R
–
9
1DIF
0
H0
R/W Cleared by writing 1.
8
HDIF
0
H0
R/W
7
1HIF
0
H0
R/W
6
10MIF
0
H0
R/W
5
1MIF
0
H0
R/W
4
10SIF
0
H0
R/W
3
1HZIF
0
H0
R/W
2
4HZIF
0
H0
R/W
1
8HZIF
0
H0
R/W
0
32HZIF
0
H0
R/W
Bits 15–10 Reserved