APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
AP-A-11
TECHNICAL MANUAL (Rev. 1.0)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
M20/M23 M21/
M24
M22/
M25
24pin 32pin
0x4220 P2DAT
(P2 Port Data
Register)
15 P2OUT7
0
H0
R/W –
✓
✓
✓
✓
14 P2OUT6
0
H0
R/W
✓
✓
✓
✓
13 P2OUT5
0
H0
R/W
✓
✓
✓
✓
12 P2OUT4
0
H0
R/W
✓
✓
✓
✓
11 P2OUT3
0
H0
R/W
–
✓
✓
✓
10 P2OUT2
0
H0
R/W
–
✓
✓
✓
9
P2OUT1
0
H0
R/W
–
–
–
✓
8
P2OUT0
0
H0
R/W
–
–
–
✓
7
P2IN7
0
H0
R
–
✓
✓
✓
✓
6
P2IN6
0
H0
R
✓
✓
✓
✓
5
P2IN5
0
H0
R
✓
✓
✓
✓
4
P2IN4
0
H0
R
✓
✓
✓
✓
3
P2IN3
0
H0
R
–
✓
✓
✓
2
P2IN2
0
H0
R
–
✓
✓
✓
1
P2IN1
0
H0
R
–
–
–
✓
0
P2IN0
0
H0
R
–
–
–
✓
0x4222 P2IOEN
(P2 Port Enable
Register)
15 P2IEN7
0
H0
R/W –
✓
✓
✓
✓
14 P2IEN6
0
H0
R/W
✓
✓
✓
✓
13 P2IEN5
0
H0
R/W
✓
✓
✓
✓
12 P2IEN4
0
H0
R/W
✓
✓
✓
✓
11 P2IEN3
0
H0
R/W
–
✓
✓
✓
10 P2IEN2
0
H0
R/W
–
✓
✓
✓
9
P2IEN1
0
H0
R/W
–
–
–
✓
8
P2IEN0
0
H0
R/W
–
–
–
✓
7
P2OEN7
0
H0
R/W –
✓
✓
✓
✓
6
P2OEN6
0
H0
R/W
✓
✓
✓
✓
5
P2OEN5
0
H0
R/W
✓
✓
✓
✓
4
P2OEN4
0
H0
R/W
✓
✓
✓
✓
3
P2OEN3
0
H0
R/W
–
✓
✓
✓
2
P2OEN2
0
H0
R/W
–
✓
✓
✓
1
P2OEN1
0
H0
R/W
–
–
–
✓
0
P2OEN0
0
H0
R/W
–
–
–
✓
0x4224 P2RCTL
(P2 Port Pull-up/down
Control Register)
15 P2PDPU7
0
H0
R/W –
✓
✓
✓
✓
14 P2PDPU6
0
H0
R/W
✓
✓
✓
✓
13 P2PDPU5
0
H0
R/W
✓
✓
✓
✓
12 P2PDPU4
0
H0
R/W
✓
✓
✓
✓
11 P2PDPU3
0
H0
R/W
–
✓
✓
✓
10 P2PDPU2
0
H0
R/W
–
✓
✓
✓
9
P2PDPU1
0
H0
R/W
–
–
–
✓
8
P2PDPU0
0
H0
R/W
–
–
–
✓
7
P2REN7
0
H0
R/W –
✓
✓
✓
✓
6
P2REN6
0
H0
R/W
✓
✓
✓
✓
5
P2REN5
0
H0
R/W
✓
✓
✓
✓
4
P2REN4
0
H0
R/W
✓
✓
✓
✓
3
P2REN3
0
H0
R/W
–
✓
✓
✓
2
P2REN2
0
H0
R/W
–
✓
✓
✓
1
P2REN1
0
H0
R/W
–
–
–
✓
0
P2REN0
0
H0
R/W
–
–
–
✓
0x4226 P2INTF
(P2 Port Interrupt
Flag Register)
15–8 –
0x00
–
R
–
–
–
–
–
7
P2IF7
0
H0
R/W Cleared
by writing
1.
✓
✓
✓
✓
6
P2IF6
0
H0
R/W
✓
✓
✓
✓
5
P2IF5
0
H0
R/W
✓
✓
✓
✓
4
P2IF4
0
H0
R/W
✓
✓
✓
✓
3
P2IF3
0
H0
R/W
–
✓
✓
✓
2
P2IF2
0
H0
R/W
–
✓
✓
✓
1
P2IF1
0
H0
R/W
–
–
–
✓
0
P2IF0
0
H0
R/W
–
–
–
✓