APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
S1C31D50/D51 TECHNICAL MANUAL
Seiko Epson Corporation
AP-A-15
(Rev. 2.00)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
48
pin
64
pin
80
pin
100
pin
0x0020
024c
P4MODSEL
(P4 Port Mode Select
Register)
15–8 –
0x00
–
R
–
– – – –
7
P4SEL7
0
H0
R/W –
– – –
✓
6
P4SEL6
0
H0
R/W
✓
✓
✓
✓
5
P4SEL5
0
H0
R/W
✓
✓
✓
✓
4
P4SEL4
0
H0
R/W
–
✓
✓
✓
3
P4SEL3
0
H0
R/W
–
✓
✓
✓
2
P4SEL2
0
H0
R/W
– –
✓
✓
1
P4SEL1
0
H0
R/W
– –
✓
✓
0
P4SEL0
0
H0
R/W
✓
✓
✓
✓
0x0020
024e
P4FNCSEL
(P4 Port Function
Select Register)
15–14 P47MUX[1:0]
0x0
H0
R/W –
– – –
✓
13–12 P46MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
11–10 P45MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
9–8 P44MUX[1:0]
0x0
H0
R/W
–
✓
✓
✓
7–6 P43MUX[1:0]
0x0
H0
R/W
–
✓
✓
✓
5–4 P42MUX[1:0]
0x0
H0
R/W
– –
✓
✓
3–2 P41MUX[1:0]
0x0
H0
R/W
– –
✓
✓
1–0 P40MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
0x0020
0250
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
✓
✓
✓
✓
0x0020
0252
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
✓
✓
✓
✓