10 REAL-TIME CLOCK (RTCA)
S1C31D50/D51 TECHNICAL MANUAL
Seiko Epson Corporation
10-13
(Rev. 2.00)
Bit 8
ALARMIF
Bit 7
T1DAYIF
Bit 6
T1HURIF
Bit 5
T1MINIF
Bit 4
T1SECIF
Bit 3
T1_2SECIF
Bit 2
T1_4SECIF
Bit 1
T1_8SECIF
Bit 0
T1_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:
RTCAINTF. ALARMIF bit: Alarm interrupt
RTCAINTF.T1DAYIF bit: 1-day interrupt
RTCAINTF.T1HURIF bit: 1-hour interrupt
RTCAINTF.T1MINIF bit:
1-minute interrupt
RTCAINTF.T1SECIF bit:
1-second interrupt
RTCAINTF.T1_2SECIF bit: 1/2-second interrupt
RTCAINTF.T1_4SECIF bit: 1/4-second interrupt
RTCAINTF.T1_8SECIF bit: 1/8-second interrupt
RTCAINTF.T1_32SECIF bit: 1/32-second interrupt
RTCA Interrupt Enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
RTCAINTE
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
T1DAYIE
0
H0
R/W
6
T1HURIE
0
H0
R/W
5
T1MINIE
0
H0
R/W
4
T1SECIE
0
H0
R/W
3
T1_2SECIE
0
H0
R/W
2
T1_4SECIE
0
H0
R/W
1
T1_8SECIE
0
H0
R/W
0
T1_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:
RTCAINTE.RTCTRMIE bit: Theoretical regulation completion interrupt
RTCAINTE.SW1IE bit:
Stopwatch 1 Hz interrupt
RTCAINTE.SW10IE bit:
Stopwatch 10 Hz interrupt
RTCAINTE.SW100IE bit: Stopwatch 100 Hz interrupt