Download Print this page

Epson S1C31D50 Technical Instructions page 137

Cmos 32-bit single chip microcontroller
Hide thumbs Also See for S1C31D50:

Advertisement

RTCA Year/Week Register
Register name
Bit
RTCAYAR
15–11
10–8
7–4
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.
Table 10.6.2 Correspondence between the count value and day of the week
Note:
Be sure to avoid writing to the RTCAYAR.RTCWK[2:0] bits while the RTCACTLL.RTCBSY bit=
1.
Bits 7–4
RTCYH[3:0]
Bits 3–0
RTCYL[3:0]
The RTCAYAR.RTCYH[3:0] bits and the RTCAYAR.RTCYL[3:0] bits are used to set and read
the 10-year digit and the 1-year digit of the year counter, respectively. The setting/read
values are a BCD code within the range from 0 to 99.
Note:
Be sure to avoid writing to the RTCAYAR.RTCYH[3:0]/RTCYL[3:0] bits while the RTCACTLL.
RTCBSY bit = 1.
10-16
Bit name
Initial
0x00
RTCWK[2:0]
0x0
RTCYH[3:0]
0x0
RTCYL[3:0]
0x0
RTCAYAR.RTCWK[2:0] bits
0x6
0x5
0x4
0x3
0x2
0x1
0x0
Seiko Epson Corporation
Reset
R/W
R
H0
R/W
H0
R/W
H0
R/W
Day of the week
Saturday
Friday
Thursday
Wednesday
Tuesday
Monday
Sunday
Remarks
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading