Rtca Month/Day Register; Rtca Year/Week Register - Epson S1C31D50 Technical Manual

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

Advertisement

Bits 6–4
RTCMIH[2:0]
Bits 3–0
RTCMIL[3:0]
The RTCAHUR.RTCMIH[2:0] bits and the RTCAHUR.RTCMIL[3:0] bits are used to set and read
the 10-minute digit and the 1-minute digit of the minute counter, respectively. The setting/read values
are a BCD code within the range from 0 to 59.
Note: Be sure to avoid writing to the RTCAHUR.RTCMIH[2:0]/RTCMIL[3:0] bits while the RT-
CACTLL.RTCBSY bit = 1.

RTCA Month/Day Register

Register name
Bit
RTCAMON
15–13 –
12
11–8 RTCMOL[3:0]
7–6 –
5–4 RTCDH[1:0]
3–0 RTCDL[3:0]
Bits 15–13 Reserved
Bit 12
RTCMOH
Bits 11–8 RTCMOL[3:0]
The RTCAMON.RTCMOH bit and the RTCAMON.RTCMOL[3:0] bits are used to set and read the
10-month digit and the 1-month digit of the month counter, respectively. The setting/read values are a
BCD code within the range from 1 to 12.
Notes: • Be sure to avoid writing to the RTCMON.RTCMOH/RTCMOL[3:0] bits while the RTCCTL.
RTCBSY bit = 1.
• Be sure to avoid setting the RTCMON.RTCMOH/RTCMOL[3:0] bits to 0x00.
Bits 7–6
Reserved
Bits 5–4
RTCDH[1:0]
Bits 3–0
RTCDL[3:0]
The RTCAMON.RTCDH[1:0] bits and the RTCAMON.RTCDL[3:0] bits are used to set and read the
10-day digit and the 1-day digit of the day counter, respectively. The setting/read values are a BCD
code within the range from 1 to 31 (to 28 for February in a common year, to 29 for February in a leap
year, or to 30 for April/June/September/November).
Note: Be sure to avoid writing to the RTCAMON.RTCDH[1:0]/RTCDL[3:0] bits while the RT-
CACTLL.RTCBSY bit = 1.

RTCA Year/Week Register

Register name
Bit
RTCAYAR
15–11 –
10–8 RTCWK[2:0]
7–4 RTCYH[3:0]
3–0 RTCYL[3:0]
Bits 15–11 Reserved
Bits 10–8 RTCWK[2:0]
These bits are used to set and read day of the week.
The day of the week counter is a base-7 counter and the setting/read values are 0x0 to 0x6. Table 10.6.2
lists the correspondence between the count value and day of the week.
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
Bit name
Initial
0x0
RTCMOH
0
0x1
0x0
0x0
0x1
Bit name
Initial
0x00
0x0
0x0
0x0
Seiko Epson Corporation
10 REAL-TIME CLOCK (RTCA)
Reset
R/W
R
H0
R/W
H0
R/W
R
H0
R/W
H0
R/W
Reset
R/W
R
H0
R/W
H0
R/W
H0
R/W
Remarks
Remarks
10-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c31d51

Table of Contents