APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
AP-A-13
TECHNICAL MANUAL (Rev. 1.0)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
M20/M23 M21/
M24
M22/
M25
24pin 32pin
0x4230 P3DAT
(P3 Port Data
Register)
15 P3OUT7
0
H0
R/W –
–
–
–
✓
14 P3OUT6
0
H0
R/W
–
–
–
✓
13 P3OUT5
0
H0
R/W
–
–
–
✓
12 P3OUT4
0
H0
R/W
–
–
–
✓
11 P3OUT3
0
H0
R/W
–
–
–
✓
10 P3OUT2
0
H0
R/W
✓
✓
✓
✓
9
P3OUT1
0
H0
R/W
✓
✓
✓
✓
8
P3OUT0
0
H0
R/W
✓
✓
✓
✓
7
P3IN7
0
H0
R
–
–
–
–
✓
6
P3IN6
0
H0
R
–
–
–
✓
5
P3IN5
0
H0
R
–
–
–
✓
4
P3IN4
0
H0
R
–
–
–
✓
3
P3IN3
0
H0
R
–
–
–
✓
2
P3IN2
0
H0
R
✓
✓
✓
✓
1
P3IN1
0
H0
R
✓
✓
✓
✓
0
P3IN0
0
H0
R
✓
✓
✓
✓
0x4232 P3IOEN
(P3 Port Enable
Register)
15 P3IEN7
0
H0
R/W –
–
–
–
✓
14 P3IEN6
0
H0
R/W
–
–
–
✓
13 P3IEN5
0
H0
R/W
–
–
–
✓
12 P3IEN4
0
H0
R/W
–
–
–
✓
11 P3IEN3
0
H0
R/W
–
–
–
✓
10 P3IEN2
0
H0
R/W
✓
✓
✓
✓
9
P3IEN1
0
H0
R/W
✓
✓
✓
✓
8
P3IEN0
0
H0
R/W
✓
✓
✓
✓
7
P3OEN7
0
H0
R/W –
–
–
–
✓
6
P3OEN6
0
H0
R/W
–
–
–
✓
5
P3OEN5
0
H0
R/W
–
–
–
✓
4
P3OEN4
0
H0
R/W
–
–
–
✓
3
P3OEN3
0
H0
R/W
–
–
–
✓
2
P3OEN2
0
H0
R/W
✓
✓
✓
✓
1
P3OEN1
0
H0
R/W
✓
✓
✓
✓
0
P3OEN0
0
H0
R/W
✓
✓
✓
✓
0x4234 P3RCTL
(P3 Port Pull-up/down
Control Register)
15 P3PDPU7
0
H0
R/W –
–
–
–
✓
14 P3PDPU6
0
H0
R/W
–
–
–
✓
13 P3PDPU5
0
H0
R/W
–
–
–
✓
12 P3PDPU4
0
H0
R/W
–
–
–
✓
11 P3PDPU3
0
H0
R/W
–
–
–
✓
10 P3PDPU2
0
H0
R/W
✓
✓
✓
✓
9
P3PDPU1
0
H0
R/W
✓
✓
✓
✓
8
P3PDPU0
0
H0
R/W
✓
✓
✓
✓
7
P3REN7
0
H0
R/W –
–
–
–
✓
6
P3REN6
0
H0
R/W
–
–
–
✓
5
P3REN5
0
H0
R/W
–
–
–
✓
4
P3REN4
0
H0
R/W
–
–
–
✓
3
P3REN3
0
H0
R/W
–
–
–
✓
2
P3REN2
0
H0
R/W
✓
✓
✓
✓
1
P3REN1
0
H0
R/W
✓
✓
✓
✓
0
P3REN0
0
H0
R/W
✓
✓
✓
✓
0x4236 P3INTF
(P3 Port Interrupt
Flag Register)
15–8 –
0x00
–
R
–
–
–
–
–
7
P3IF7
0
H0
R/W Cleared
by writing
1.
–
–
–
✓
6
P3IF6
0
H0
R/W
–
–
–
✓
5
P3IF5
0
H0
R/W
–
–
–
✓
4
P3IF4
0
H0
R/W
–
–
–
✓
3
P3IF3
0
H0
R/W
–
–
–
✓
2
P3IF2
0
H0
R/W
✓
✓
✓
✓
1
P3IF1
0
H0
R/W
✓
✓
✓
✓
0
P3IF0
0
H0
R/W
✓
✓
✓
✓