Download Print this page

Epson S1C31D50 Technical Instructions page 135

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

Advertisement

RTCA Hour/Minute Register
Register name
Bit
RTCAHUR
15
14
13–12
11–8
7
6–4
3–0
Bit 15
Reserved
Bit 14
RTCAP
This bit is used to set and read A.M. or P.M. data in 12H mode (RTCACTLL.RTC24H bit = 0).
1 (R/W): P.M.
0 (R/W): A.M.
In 24H mode (RTCACTLL.RTC24H bit = 1), this bit is fixed at 0 and writing 1 is ignored.
However, if the RTCAHUR.RTCAP bit = 1 when changed to 24H mode, it goes 0 at the next
count-up timing of the hour counter.
Bits 13–12 RTCHH[1:0]
Bits 11–8 RTCHL[3:0]
The RTCAHUR.RTCHH[1:0] bits and the RTCAHUR.RTCHL[3:0] bits are used to set and read
the 10-hour digit and the 1-hour digit of the hour counter, respectively. The setting/read
values are a BCD code within the range from 1 to 12 in 12H mode or 0 to 23 in 24H mode.
Note:
Be sure to avoid writing to the RTCAHUR.RTCHH[1:0]/RTCHL[3:0] bits while the RTCACTLL.
RTCBSY bit = 1.
Bit 7
Reserved
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.
10-14
Bit name
Initial
0
RTCAP
0
RTCHH[1:0]
0x1
RTCHL[3:0]
0x2
0
RTCMIH[2:0]
0x0
RTCMIL[3:0]
0x0
Seiko Epson Corporation
Reset
R/W
R
H0
R/W
H0
R/W
H0
R/W
R
H0
R/W
H0
R/W
Remarks
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading