APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
AP-A-6
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
0x0020 0200–0x0020 02e2
I/O Ports (PPORT)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
48
pin
64
pin
80
pin
100
pin
0x0020
0200
P0DAT
(P0 Port Data
Register)
15 P0OUT7
0
H0
R/W –
– –
✓
✓
14 P0OUT6
0
H0
R/W
✓
✓
✓
✓
13 P0OUT5
0
H0
R/W
✓
✓
✓
✓
12 P0OUT4
0
H0
R/W
✓
✓
✓
✓
11 P0OUT3
0
H0
R/W
✓
✓
✓
✓
10 P0OUT2
0
H0
R/W
– – –
✓
9
P0OUT1
0
H0
R/W
– – –
✓
8
P0OUT0
0
H0
R/W
– – –
✓
7
P0IN7
0
H0
R
–
– –
✓
✓
6
P0IN6
0
H0
R
✓
✓
✓
✓
5
P0IN5
0
H0
R
✓
✓
✓
✓
4
P0IN4
0
H0
R
✓
✓
✓
✓
3
P0IN3
0
H0
R
✓
✓
✓
✓
2
P0IN2
0
H0
R
– – –
✓
1
P0IN1
0
H0
R
– – –
✓
0
P0IN0
0
H0
R
– – –
✓
0x0020
0202
P0IOEN
(P0 Port Enable
Register)
15 P0IEN7
0
H0
R/W –
– –
✓
✓
14 P0IEN6
0
H0
R/W
✓
✓
✓
✓
13 P0IEN5
0
H0
R/W
✓
✓
✓
✓
12 P0IEN4
0
H0
R/W
✓
✓
✓
✓
11 P0IEN3
0
H0
R/W
✓
✓
✓
✓
10 P0IEN2
0
H0
R/W
– – –
✓
9
P0IEN1
0
H0
R/W
– – –
✓
8
P0IEN0
0
H0
R/W
– – –
✓
7
P0OEN7
0
H0
R/W –
– –
✓
✓
6
P0OEN6
0
H0
R/W
✓
✓
✓
✓
5
P0OEN5
0
H0
R/W
✓
✓
✓
✓
4
P0OEN4
0
H0
R/W
✓
✓
✓
✓
3
P0OEN3
0
H0
R/W
✓
✓
✓
✓
2
P0OEN2
0
H0
R/W
– – –
✓
1
P0OEN1
0
H0
R/W
– – –
✓
0
P0OEN0
0
H0
R/W
– – –
✓
0x0020
0204
P0RCTL
(P0 Port Pull-up/down
Control Register)
15 P0PDPU7
0
H0
R/W –
– –
✓
✓
14 P0PDPU6
0
H0
R/W
✓
✓
✓
✓
13 P0PDPU5
0
H0
R/W
✓
✓
✓
✓
12 P0PDPU4
0
H0
R/W
✓
✓
✓
✓
11 P0PDPU3
0
H0
R/W
✓
✓
✓
✓
10 P0PDPU2
0
H0
R/W
– – –
✓
9
P0PDPU1
0
H0
R/W
– – –
✓
8
P0PDPU0
0
H0
R/W
– – –
✓
7
P0REN7
0
H0
R/W –
– –
✓
✓
6
P0REN6
0
H0
R/W
✓
✓
✓
✓
5
P0REN5
0
H0
R/W
✓
✓
✓
✓
4
P0REN4
0
H0
R/W
✓
✓
✓
✓
3
P0REN3
0
H0
R/W
✓
✓
✓
✓
2
P0REN2
0
H0
R/W
– – –
✓
1
P0REN1
0
H0
R/W
– – –
✓
0
P0REN0
0
H0
R/W
– – –
✓