7 I/O PORTS (PPORT)
S1C31D50/D51 TECHNICAL MANUAL
Seiko Epson Corporation
7-37
(Rev. 2.00)
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
48
pin
64
pin
80
pin
100
pin
PAMODSEL
(Pa Port Mode Select
Register)
15–8 –
0x00
–
R
–
– – – –
7
–
0
–
R
– – – –
6
PASEL6
0
H0
R/W –
– – –
✓
5
PASEL5
0
H0
R/W
– – –
✓
4
PASEL4
0
H0
R/W
– –
✓
✓
3
PASEL3
0
H0
R/W
✓
✓
✓
✓
2
PASEL2
0
H0
R/W
–
✓
✓
✓
1
PASEL1
0
H0
R/W
–
✓
✓
✓
0
PASEL0
0
H0
R/W
– –
✓
✓
PAFNCSEL
(Pa Port Function
Select Register)
15–14 –
0x0
–
R
–
– – – –
13–12 PA6MUX[1:0]
0x0
H0
R/W –
– – –
✓
11–10 PA5MUX[1:0]
0x0
H0
R/W
– – –
✓
9–8 PA4MUX[1:0]
0x0
H0
R/W
– –
✓
✓
7–6 PA3MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
5–4 PA2MUX[1:0]
0x0
H0
R/W
–
✓
✓
✓
3–2 PA1MUX[1:0]
0x0
H0
R/W
–
✓
✓
✓
1–0 PA0MUX[1:0]
0x0
H0
R/W
– –
✓
✓
Table 7.7.11.2 Pa Port Group Function Assignment
Port
name
PASELy = 0
PASELy = 1
48
pin
64
pin
80
pin
100
pin
GPIO
PAyMUX = 0x0
(Function 0)
PAyMUX = 0x1
(Function 1)
PAyMUX = 0x2
(Function 2)
PAyMUX = 0x3
(Function 3)
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Pa0
Pa0
–
–
–
–
–
–
–
–
– –
✓
✓
Pa1
Pa1
–
–
–
–
–
–
–
–
–
✓
✓
✓
Pa2
Pa2
–
–
–
–
–
–
–
–
–
✓
✓
✓
Pa3
Pa3
CLG
FOUT
–
–
–
–
–
–
✓
✓
✓
✓
Pa4
Pa4
–
–
–
–
–
–
–
–
– –
✓
✓
Pa5
Pa5
–
–
–
–
–
–
–
–
– – –
✓
Pa6
Pa6
–
–
–
–
–
–
–
–
– – –
✓
7.7.12 Pd Port Group
The Pd port group support the GPIO function. The Pd0 and Pd1 ports are configured as debugging function ports at
initialization.
Table 7.7.12.1 Control Registers for Pd Port Group
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
48
pin
64
pin
80
pin
100
pin
PDDAT
(Pd Port Data
Register)
15–14 –
0x0
–
R
–
– – – –
13 PDOUT5
0
H0
R/W –
– – –
✓
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–6 –
0x0
–
R
–
– – – –
5
PDIN5
0
H0
R
–
– – –
✓
4
PDIN4
0
H0
R
– –
✓
✓
3
PDIN3
0
H0
R
✓
✓
✓
✓
2
PDIN2
0
H0
R
✓
✓
✓
✓
1
PDIN1
0
H0
R
✓
✓
✓
✓
0
PDIN0
0
H0
R
✓
✓
✓
✓