APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
AP-A-16
Seiko Epson Corporation
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
M20/M23 M21/
M24
M22/
M25
24pin 32pin
0x42d0 PDDAT
(Pd Port Data
Register)
15–13 –
0x0
–
R
–
–
–
–
–
12 PDOUT4
0
H0
R/W –
–
✓
✓
✓
11 PDOUT3
0
H0
R/W
–
✓
✓
✓
10 PDOUT2
0
H0
R/W
✓
✓
✓
✓
9
PDOUT1
0
H0
R/W
✓
✓
✓
✓
8
PDOUT0
0
H0
R/W
✓
✓
✓
✓
7–5 –
0
–
R
–
–
–
–
–
4
PDIN4
X
H0
R
–
–
✓
✓
✓
3
PDIN3
X
H0
R
–
✓
✓
✓
2
–
0
–
R
–
–
–
–
1
PDIN1
X
H0
R
✓
✓
✓
✓
0
PDIN0
X
H0
R
✓
✓
✓
✓
0x42d2 PDIOEN
(Pd Port Enable
Register)
15–13 –
0x0
–
R
–
–
–
–
–
12 PDIEN4
0
H0
R/W –
–
✓
✓
✓
11 PDIEN3
0
H0
R/W
–
✓
✓
✓
10 (reserved)
0
H0
R/W
✓
✓
✓
✓
9
PDIEN1
0
H0
R/W
✓
✓
✓
✓
8
PDIEN0
0
H0
R/W
✓
✓
✓
✓
7–5 –
0
–
R
–
–
–
–
–
4
PDOEN4
0
H0
R/W –
–
✓
✓
✓
3
PDOEN3
0
H0
R/W
–
✓
✓
✓
2
PDOEN2
0
H0
R/W
✓
✓
✓
✓
1
PDOEN1
0
H0
R/W
✓
✓
✓
✓
0
PDOEN0
0
H0
R/W
✓
✓
✓
✓
0x42d4 PDRCTL
(Pd Port Pull-up/down
Control Register)
15–13 –
0x0
–
R
–
–
–
–
–
12 PDPDPU4
0
H0
R/W –
–
✓
✓
✓
11 PDPDPU3
0
H0
R/W
–
✓
✓
✓
10 (reserved)
0
H0
R/W
✓
✓
✓
✓
9
PDPDPU1
0
H0
R/W
✓
✓
✓
✓
8
PDPDPU0
0
H0
R/W
✓
✓
✓
✓
7–5 –
0
–
R
–
–
–
–
–
4
PDREN4
0
H0
R/W –
–
✓
✓
✓
3
PDREN3
0
H0
R/W
–
✓
✓
✓
2
(reserved)
0
H0
R/W
✓
✓
✓
✓
1
PDREN1
0
H0
R/W
✓
✓
✓
✓
0
PDREN0
0
H0
R/W
✓
✓
✓
✓
0x42dc PDMODSEL
(Pd Port Mode Select
Register)
15–8 –
0x00
–
R
–
–
–
–
–
7–5 –
0
–
R
–
–
–
–
–
4
PDSEL4
0
H0
R/W –
–
✓
✓
✓
3
PDSEL3
0
H0
R/W
–
✓
✓
✓
2
PDSEL2
1
H0
R/W
✓
✓
✓
✓
1
PDSEL1
1
H0
R/W
✓
✓
✓
✓
0
PDSEL0
1
H0
R/W
✓
✓
✓
✓
0x42de PDFNCSEL
(Pd Port Function
Select Register)
15–10 –
0x00
–
R
–
–
–
–
–
9–8 PD4MUX[1:0]
0x0
H0
R/W –
–
✓
✓
✓
7–6 PD3MUX[1:0]
0x0
H0
R/W
–
✓
✓
✓
5–4 PD2MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
3–2 PD1MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
1–0 PD0MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
0x42e0 PCLK
(P Port Clock Control
Register)
15–9 –
0x00
–
R
–
–
–
–
–
8
DBRUN
0
H0
R/WP –
✓
✓
✓
✓
7–4 CLKDIV[3:0]
0x0
H0
R/WP
✓
✓
✓
✓
3–2 KRSTCFG[1:0]
0x0
H0
R/WP
✓
✓
✓
✓
1–0 CLKSRC[1:0]
0x0
H0
R/WP
✓
✓
✓
✓