APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
AP-A-14
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
48
pin
64
pin
80
pin
100
pin
0x0020
0244
P4RCTL
(P4 Port Pull-up/down
Control Register)
15 P4PDPU7
0
H0
R/W –
– – –
✓
14 P4PDPU6
0
H0
R/W
✓
✓
✓
✓
13 P4PDPU5
0
H0
R/W
✓
✓
✓
✓
12 P4PDPU4
0
H0
R/W
–
✓
✓
✓
11 P4PDPU3
0
H0
R/W
–
✓
✓
✓
10 P4PDPU2
0
H0
R/W
– –
✓
✓
9
P4PDPU1
0
H0
R/W
– –
✓
✓
8
P4PDPU0
0
H0
R/W
✓
✓
✓
✓
7
P4REN7
0
H0
R/W –
– – –
✓
6
P4REN6
0
H0
R/W
✓
✓
✓
✓
5
P4REN5
0
H0
R/W
✓
✓
✓
✓
4
P4REN4
0
H0
R/W
–
✓
✓
✓
3
P4REN3
0
H0
R/W
–
✓
✓
✓
2
P4REN2
0
H0
R/W
– –
✓
✓
1
P4REN1
0
H0
R/W
– –
✓
✓
0
P4REN0
0
H0
R/W
✓
✓
✓
✓
0x0020
0246
P4INTF
(P4 Port Interrupt
Flag Register)
15–8 –
0x00
–
R
–
– – – –
7
P4IF7
0
H0
R/W Cleared by
writing 1.
– – –
✓
6
P4IF6
0
H0
R/W
✓
✓
✓
✓
5
P4IF5
0
H0
R/W
✓
✓
✓
✓
4
P4IF4
0
H0
R/W
–
✓
✓
✓
3
P4IF3
0
H0
R/W
–
✓
✓
✓
2
P4IF2
0
H0
R/W
– –
✓
✓
1
P4IF1
0
H0
R/W
– –
✓
✓
0
P4IF0
0
H0
R/W
✓
✓
✓
✓
0x0020
0248
P4INTCTL
(P4 Port Interrupt
Control Register)
15 P4EDGE7
0
H0
R/W –
– – –
✓
14 P4EDGE6
0
H0
R/W
✓
✓
✓
✓
13 P4EDGE5
0
H0
R/W
✓
✓
✓
✓
12 P4EDGE4
0
H0
R/W
–
✓
✓
✓
11 P4EDGE3
0
H0
R/W
–
✓
✓
✓
10 P4EDGE2
0
H0
R/W
– –
✓
✓
9
P4EDGE1
0
H0
R/W
– –
✓
✓
8
P4EDGE0
0
H0
R/W
✓
✓
✓
✓
7
P4IE7
0
H0
R/W –
– – –
✓
6
P4IE6
0
H0
R/W
✓
✓
✓
✓
5
P4IE5
0
H0
R/W
✓
✓
✓
✓
4
P4IE4
0
H0
R/W
–
✓
✓
✓
3
P4IE3
0
H0
R/W
–
✓
✓
✓
2
P4IE2
0
H0
R/W
– –
✓
✓
1
P4IE1
0
H0
R/W
– –
✓
✓
0
P4IE0
0
H0
R/W
✓
✓
✓
✓
0x0020
024a
P4CHATEN
(P4 Port Chattering
Filter Enable Register)
15–8 –
0x00
–
R
–
– – – –
7
P4CHATEN7
0
H0
R/W –
– – –
✓
6
P4CHATEN6
0
H0
R/W
✓
✓
✓
✓
5
P4CHATEN5
0
H0
R/W
✓
✓
✓
✓
4
P4CHATEN4
0
H0
R/W
–
✓
✓
✓
3
P4CHATEN3
0
H0
R/W
–
✓
✓
✓
2
P4CHATEN2
0
H0
R/W
– –
✓
✓
1
P4CHATEN1
0
H0
R/W
– –
✓
✓
0
P4CHATEN0
0
H0
R/W
✓
✓
✓
✓