14 REAL-TIME CLOCK (RTC)
S1C17F13 TeChniCal Manual
Seiko epson Corporation
14-7
(Rev. 1.0)
Bit 9
1DiF
Bit 8
hDiF
Bit 7
1hiF
Bit 6
10MiF
Bit 5
1MiF
Bit 4
10SiF
Bit 3
1hZiF
Bit 2
4hZiF
Bit 1
8hZiF
Bit 0
32hZiF
These bits indicate the RTC interrupt cause occurrence status.
1 (R):
Cause of interrupt occurred
0 (R):
No cause of interrupt occurred
1 (W):
Clear flag
0 (W):
Ineffective
The following shows the correspondence between the bit and interrupt:
RTCINTF.1DIF bit: One day interrupt
RTCINTF.HDIF bit: Half-day interrupt
RTCINTF.1HIF bit: 1 hour interrupt
RTCINTF.10MIF bit: 10 minutes interrupt
RTCINTF.1MIF bit: 1 minute interrupt
RTCINTF.10SIF bit: 10 seconds interrupt
RTCINTF.1HZIF bit: 1 Hz interrupt
RTCINTF.4HZIF bit: 4 Hz interrupt
RTCINTF.8HZIF bit: 8 Hz interrupt
RTCINTF.32HZIF bit: 32 Hz interrupt
RTC Minute/Second Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
RTCMIN
15 –
0
–
R
–
14–8 RTCMIN[6:0]
x
–
R/W
7
–
0
–
R
6–0 RTCSEC[6:0]
x
–
R/W
Note: Be sure to avoid writing to this register while the RTCCTL.RTCST bit = 1.
Bit 15
Reserved
Bits 14–8 RTCMin[6:0]
These bits are used to read and write data from/to the minute counter.
For the configuration of the minute counter, see “RTC Counters.” For the counter read and write
procedures, see “Operations.”
Bit 7
Reserved
Bits 6–0
RTCSeC[6:0]
These bits are used to read and write data from/to the second counter.
For the configuration of the second counter, see “RTC Counters.” For the counter read and write
procedures, see “Operations.”
RTC hour Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
RTCHUR
15–8 –
0x00
–
R
–
7
AMPM
x
–
R/W
6
–
0
–
R
5–0 RTCHUR[5:0]
x
–
R/W