7 I/O PORTS (PPORT)
7-24
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
7.7.6 P5 Port Group
The P5 port group supports the GPIO and interrupt functions.
Table 7.7.6.1 Control Registers for P5 Port Group
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
48
pin
64
pin
80
pin
100
pin
P5DAT
(P5 Port Data
Register)
15 P5OUT7
0
H0
R/W –
– – –
✓
14 P5OUT6
0
H0
R/W
– – –
✓
13 P5OUT5
0
H0
R/W
– – –
✓
12 P5OUT4
0
H0
R/W
– – –
✓
11 P5OUT3
0
H0
R/W
– –
✓
✓
10 P5OUT2
0
H0
R/W
– –
✓
✓
9
P5OUT1
0
H0
R/W
✓
✓
✓
✓
8
P5OUT0
0
H0
R/W
✓
✓
✓
✓
7
P5IN7
0
H0
R
–
– – –
✓
6
P5IN6
0
H0
R
– – –
✓
5
P5IN5
0
H0
R
– – –
✓
4
P5IN4
0
H0
R
– – –
✓
3
P5IN3
0
H0
R
– –
✓
✓
2
P5IN2
0
H0
R
– –
✓
✓
1
P5IN1
0
H0
R
✓
✓
✓
✓
0
P5IN0
0
H0
R
✓
✓
✓
✓
P5IOEN
(P5 Port Enable
Register)
15 P5IEN7
0
H0
R/W –
– – –
✓
14 P5IEN6
0
H0
R/W
– – –
✓
13 P5IEN5
0
H0
R/W
– – –
✓
12 P5IEN4
0
H0
R/W
– – –
✓
11 P5IEN3
0
H0
R/W
– –
✓
✓
10 P5IEN2
0
H0
R/W
– –
✓
✓
9
P5IEN1
0
H0
R/W
✓
✓
✓
✓
8
P5IEN0
0
H0
R/W
✓
✓
✓
✓
7
P5OEN7
0
H0
R/W –
– – –
✓
6
P5OEN6
0
H0
R/W
– – –
✓
5
P5OEN5
0
H0
R/W
– – –
✓
4
P5OEN4
0
H0
R/W
– – –
✓
3
P5OEN3
0
H0
R/W
– –
✓
✓
2
P5OEN2
0
H0
R/W
– –
✓
✓
1
P5OEN1
0
H0
R/W
✓
✓
✓
✓
0
P5OEN0
0
H0
R/W
✓
✓
✓
✓
P5RCTL
(P5 Port Pull-up/down
Control Register)
15 P5PDPU7
0
H0
R/W –
– – –
✓
14 P5PDPU6
0
H0
R/W
– – –
✓
13 P5PDPU5
0
H0
R/W
– – –
✓
12 P5PDPU4
0
H0
R/W
– – –
✓
11 P5PDPU3
0
H0
R/W
– –
✓
✓
10 P5PDPU2
0
H0
R/W
– –
✓
✓
9
P5PDPU1
0
H0
R/W
✓
✓
✓
✓
8
P5PDPU0
0
H0
R/W
✓
✓
✓
✓
7
P5REN7
0
H0
R/W –
– – –
✓
6
P5REN6
0
H0
R/W
– – –
✓
5
P5REN5
0
H0
R/W
– – –
✓
4
P5REN4
0
H0
R/W
– – –
✓
3
P5REN3
0
H0
R/W
– –
✓
✓
2
P5REN2
0
H0
R/W
– –
✓
✓
1
P5REN1
0
H0
R/W
✓
✓
✓
✓
0
P5REN0
0
H0
R/W
✓
✓
✓
✓