Epson S1C17624 Technical Manual page 337

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents