Rtca Hour/Minute Alarm Register; Rtca Stopwatch Control Register - Epson S1C31D50 Technical Manual

Cmos 32-bit single chip
Hide thumbs Also See for S1C31D50:
Table of Contents

Advertisement

10 REAL-TIME CLOCK (RTCA)
Bits 14–12 RTCSHA[2:0]
Bits 11–8 RTCSLA[3:0]
The RTCAALM1.RTCSHA[2:0] bits and the RTCAALM1.RTCSLA[3:0] bits set the 10-second digit
and 1-second digit of the alarm time, respectively. A value within 0 to 59 seconds can be set in BCD
code as shown in Table 10.6.1.
RTCAALM1.RTCSHA[2:0] bits
0x0
0x0
· · ·
0x0
0x1
· · ·
0x5
Bits 7–0
Reserved

RTCA Hour/Minute Alarm Register

Register name
Bit
RTCAALM2
15
14
13–12 RTCHHA[1:0]
11–8 RTCHLA[3:0]
7
6–4 RTCMIHA[2:0]
3–0 RTCMILA[3:0]
Bit 15
Reserved
Bit 14
RTCAPA
This bit sets A.M. or P.M. of the alarm time in 12H mode (RTCACTLL.RTC24H bit = 0).
1 (R/W): P.M.
0 (R/W): A.M.
This setting is ineffective in 24H mode (RTCACTLL.RTC24H bit = 1).
Bits 13–12 RTCHHA[1:0]
Bits 11–8 RTCHLA[3:0]
The RTCAALM2.RTCHHA[1:0] bits and the RTCAALM2.RTCHLA[3:0] bits set the 10-hour digit
and 1-hour digit of the alarm time, respectively. A value within 1 to 12 o'clock in 12H mode or 0 to
23 in 24H mode can be set in BCD code.
Bit 7
Reserved
Bits 6–4
RTCMIHA[2:0]
Bits 3–0
RTCMILA[3:0]
The RTCAALM2.RTCMIHA[2:0] bits and the RTCAALM2.RTCMILA[3:0] bits set the 10-minute
digit and 1-minute digit of the alarm time, respectively. A value within 0 to 59 minutes can be set in
BCD code.

RTCA Stopwatch Control Register

Register name
Bit
RTCASWCTL
15–12 BCD10[3:0]
11–8 BCD100[3:0]
7–5 –
4
3–1 –
0
10-8
Table 10.6.1 Setting Examples in BCD Code
Setting value in BCD code
RTCAALM1.RTCSLA[3:0] bits
Bit name
Initial
0
RTCAPA
0
0x0
0x0
0
0x0
0x0
Bit name
Initial
0x0
0x0
0x0
SWRST
0
0x0
SWRUN
0
Seiko Epson Corporation
Alarm (second) setting
0x0
0x1
· · ·
0x9
0x0
· · ·
0x9
Reset
R/W
R
H0
R/W
H0
R/W
H0
R/W
R
H0
R/W
H0
R/W
Reset
R/W
H0
R
H0
R
R
H0
W
Read as 0.
R
H0
R/W
S1C31D50/D51 TECHNICAL MANUAL
00 seconds
01 second
· · ·
09 seconds
10 seconds
· · ·
59 seconds
Remarks
Remarks
(Rev. 2.00)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c31d51

Table of Contents