7 I/O PORTS (PPORT)
7-38
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
48
pin
64
pin
80
pin
100
pin
PDIOEN
(Pd Port Enable
Register)
15–14 –
0x0
–
R
–
– – – –
13 PDIEN5
0
H0
R/W –
– – –
✓
12 PDIEN4
0
H0
R/W
– –
✓
✓
11 PDIEN3
0
H0
R/W
✓
✓
✓
✓
10 PDIEN2
0
H0
R/W
✓
✓
✓
✓
9
PDIEN1
0
H0
R/W
✓
✓
✓
✓
8
PDIEN0
0
H0
R/W
✓
✓
✓
✓
7–6 –
0x0
–
R
–
– – – –
5
PDOEN5
0
H0
R/W –
– – –
✓
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–14 –
0x0
–
R
–
– – – –
13 PDPDPU5
0
H0
R/W –
– – –
✓
12 PDPDPU4
0
H0
R/W
– –
✓
✓
11 PDPDPU3
0
H0
R/W
✓
✓
✓
✓
10 PDPDPU2
0
H0
R/W
✓
✓
✓
✓
9
PDPDPU1
0
H0
R/W
✓
✓
✓
✓
8
PDPDPU0
0
H0
R/W
✓
✓
✓
✓
7–6 –
0x0
–
R
–
– – – –
5
PDREN5
0
H0
R/W –
– – –
✓
4
PDREN4
0
H0
R/W
– –
✓
✓
3
PDREN3
0
H0
R/W
✓
✓
✓
✓
2
PDREN2
0
H0
R/W
✓
✓
✓
✓
1
PDREN1
0
H0
R/W
✓
✓
✓
✓
0
PDREN0
0
H0
R/W
✓
✓
✓
✓
PPORTPDINTF
PPORTPDINTCTL
PPORTPDCHATEN
15–0 –
0x0000
–
R
–
– – – –
PDMODSEL
(Pd Port Mode Select
Register)
15–8 –
0x00
–
R
–
– – – –
7–6 –
0x0
–
R
– – – –
5
PDSEL5
0
H0
R/W –
– – –
✓
4
PDSEL4
0
H0
R/W
– –
✓
✓
3
PDSEL3
0
H0
R/W
✓
✓
✓
✓
2
PDSEL2
0
H0
R/W
✓
✓
✓
✓
1
PDSEL1
1
H0
R/W
✓
✓
✓
✓
0
PDSEL0
1
H0
R/W
✓
✓
✓
✓
PDFNCSEL
(Pd Port Function
Select Register)
15–12 –
0x0
H0
R/W –
– – – –
11–10 PD5MUX[1:0]
0x0
H0
R/W –
– – –
✓
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
✓
✓
✓
✓
Table 7.7.12.2 Pd Port Group Function Assignment
Port
name
PDSELy = 0
PDSELy = 1
48
pin
64
pin
80
pin
100
pin
GPIO
PDyMUX = 0x0
(Function 0)
PDyMUX = 0x1
(Function 1)
PDyMUX = 0x2
(Function 2)
PDyMUX = 0x3
(Function 3)
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Pd0
Pd0
CPU core SWCLK
–
–
–
–
–
–
✓
✓
✓
✓
Pd1
Pd1
CPU core
SWD
–
–
–
–
–
–
✓
✓
✓
✓
Pd2
Pd2
–
–
–
–
CLG
OSC3
–
–
✓
✓
✓
✓
Pd3
Pd3
–
–
–
–
CLG
OSC4
–
–
✓
✓
✓
✓
Pd4
Pd4
–
–
–
–
–
–
–
–
– –
✓
✓
Pd5
Pd5
–
–
–
–
–
–
–
–
– – –
✓