6 I/O PORTS (PPORT)
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
6-23
TECHNICAL MANUAL (Rev. 1.0)
6.7.6 Pd Port Group
The Pd0–Pd2 ports are configured as a debugging function port at initialization. The Pd port group supports the
GPIO functions. The GPIO function of the Pd2 port supports output only, therefore, the pull-up/down function can-
not be used.
Table 6.7.6.1 Control Registers for Pd Port Group
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
M20/M23 M21/
M24
M22/
M25
24pin 32pin
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
✓
✓
✓
✓
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
✓
✓
✓
✓
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
✓
✓
✓
✓
PDINTF
PDINTCTL
PDCHATEN
15–0 –
0x0000
–
R
–
–
–
–
–
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
✓
✓
✓
✓