
aPPenDiX a liST OF i/O ReGiSTeRS
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
aP-a-15
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
RTC interrupt
Mode Register
(RTC_inTMODe)
0x5141
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4–2 RTCT[2:0]
RTC interrupt cycle setup
RTCT[2:0]
Cycle
X
(0x1)
R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
1/128 second
1/256 second
1/512 second
1 hour
1 minute
1 second
1/64 second
D1
RTCiMD
RTC interrupt mode select
1 Level sense 0 Edge trigger X (1) R/W
D0
RTCien
RTC interrupt enable
1 Enable
0 Disable
X (0) R/W
RTC Control 0
Register
(RTC_CnTl0)
0x5142
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
RTC24h
24H/12H mode select
1 24H
0 12H
X (0) R/W
D3
–
reserved
–
–
–
0 when being read.
D2
RTCaDJ
30-second adjustment
1 Adjust
0 –
X (0) R/W
D1
RTCSTP
Divider run/stop control
1 Stop
0 Run
X (0) R/W
D0
RTCRST
Software reset
1 Reset
0 –
X (0) R/W
RTC Control 1
Register
(RTC_CnTl1)
0x5143
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2
RTCRDhlD Read buffer enable
1 Enable
0 Disable
X (0) R/W
D1
RTCBSY
Counter busy flag
1 Busy
0 R/W possible X (0)
R
D0
RTChlD
Counter hold control
1 Hold
0 Running
X (0) R/W
RTC Second
Register
(RTC_SeC)
0x5144
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6–4 RTCSh[2:0] RTC 10-second counter
0 to 5
X (
*
) R/W
D3–0 RTCSl[3:0] RTC 1-second counter
0 to 9
X (
*
) R/W
RTC Minute
Register
(RTC_Min)
0x5145
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6–4 RTCMih[2:0] RTC 10-minute counter
0 to 5
X (
*
) R/W
D3–0 RTCMil[3:0] RTC 1-minute counter
0 to 9
X (
*
) R/W
RTC hour
Register
(RTC_hOuR)
0x5146
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6
RTCaP
AM/PM indicator
1 PM
0 AM
X (
*
) R/W
D5–4 RTChh[1:0] RTC 10-hour counter
0 to 2 or 0 to 1
X (
*
) R/W
D3–0 RTChl[3:0] RTC 1-hour counter
0 to 9
X (
*
) R/W
RTC Day
Register
(RTC_DaY)
0x5147
(8 bits)
D7–6 –
reserved
–
–
–
0 when being read.
D5–4 RTCDh[1:0] RTC 10-day counter
0 to 3
X (
*
) R/W
D3–0 RTCDl[3:0] RTC 1-day counter
0 to 9
X (
*
) R/W
RTC Month
Register
(RTC_MOnTh)
0x5148
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
RTCMOh
RTC 10-month counter
0 to 1
X (
*
) R/W
D3–0 RTCMOl[3:0] RTC 1-month counter
0 to 9
X (
*
) R/W
RTC Year
Register
(RTC_YeaR)
0x5149
(8 bits)
D7–4 RTCYh[3:0] RTC 10-year counter
0 to 9
X (
*
) R/W
D3–0 RTCYl[3:0] RTC 1-year counter
0 to 9
X (
*
) R/W
RTC Days of
Week Register
(RTC_WeeK)
0x514a
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2–0 RTCWK[2:0] RTC days of week counter
RTCWK[2:0]
Days of week X (
*
) R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
–
Saturday
Friday
Thursday
Wednesday
Tuesday
Monday
Sunday
Init.: ( ) indicates the value set after a software reset (RTCRST
→
1
→
0) is performed.
*
Software reset (RTCRST
→
1
→
0) does not affect the counter values. This register retains the value set before a software reset is
performed.
0x5200–0x52ab
P Port & Port MuX
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P0 Port input
Data Register
(P0_in)
0x5200
(8 bits)
D7–0 P0in[7:0]
P0[7:0] port input data
1 1 (H)
0 0 (L)
×
R
P0 Port Output
Data Register
(P0_OuT)
0x5201
(8 bits)
D7–0 P0OuT[7:0] P0[7:0] port output data
1 1 (H)
0 0 (L)
0
R/W
P0 Port
Output enable
Register
(P0_Oen)
0x5202
(8 bits)
D7–0 P0Oen[7:0] P0[7:0] port output enable
1 Enable
0 Disable
0
R/W
P0 Port Pull-up
Control Register
(P0_Pu)
0x5203
(8 bits)
D7–0 P0Pu[7:0]
P0[7:0] port pull-up enable
1 Enable
0 Disable
1
(0xff)
R/W