9 REAL-TIME CLOCK (RTCA)
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
9-13
TECHNICAL MANUAL (Rev. 1.0)
Bit 8
ALARMIF
Bit 7
1DAYIF
Bit 6
1HURIF
Bit 5
1MINIF
Bit 4
1SECIF
Bit 3
1_2SECIF
Bit 2
1_4SECIF
Bit 1
1_8SECIF
Bit 0
1_32SECIF
These bits indicate the real-time clock 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. ALARMIF bit: Alarm interrupt
RTCINTF.1DAYIF bit: 1-day interrupt
RTCINTF.1HURIF bit: 1-hour interrupt
RTCINTF.1MINIF bit:
1-minute interrupt
RTCINTF.1SECIF bit:
1-second interrupt
RTCINTF.1_2SECIF bit: 1/2-second interrupt
RTCINTF.1_4SECIF bit: 1/4-second interrupt
RTCINTF.1_8SECIF bit: 1/8-second interrupt
RTCINTF.1_32SECIF bit: 1/32-second interrupt
RTC Interrupt Enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
RTCINTE
15 RTCTRMIE
0
H0
R/W –
14 SW1IE
0
H0
R/W
13 SW10IE
0
H0
R/W
12 SW100IE
0
H0
R/W
11–9 –
0x0
–
R
8
ALARMIE
0
H0
R/W
7
1DAYIE
0
H0
R/W
6
1HURIE
0
H0
R/W
5
1MINIE
0
H0
R/W
4
1SECIE
0
H0
R/W
3
1_2SECIE
0
H0
R/W
2
1_4SECIE
0
H0
R/W
1
1_8SECIE
0
H0
R/W
0
1_32SECIE
0
H0
R/W
Bit 15
RTCTRMIE
Bit 14
SW1IE
Bit 13
SW10IE
Bit 12
SW100IE
These bits enable real-time clock interrupts.
1 (R/W): Enable interrupts
0 (R/W): Disable interrupts
The following shows the correspondence between the bit and interrupt:
RTCINTE.RTCTRMIE bit: Theoretical regulation completion interrupt
RTCINTE.SW1IE bit:
Stopwatch 1 Hz interrupt
RTCINTE.SW10IE bit:
Stopwatch 10 Hz interrupt
RTCINTE.SW100IE bit: Stopwatch 100 Hz interrupt