APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
AP-A-9
TECHNICAL MANUAL (Rev. 1.0)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
M20/M23 M21/
M24
M22/
M25
24pin 32pin
0x4210 P1DAT
(P1 Port Data
Register)
15 P1OUT7
0
H0
R/W –
–
–
–
✓
14 P1OUT6
0
H0
R/W
–
–
–
✓
13 P1OUT5
0
H0
R/W
✓
✓
✓
✓
12 P1OUT4
0
H0
R/W
✓
✓
✓
✓
11 P1OUT3
0
H0
R/W
✓
✓
✓
✓
10 P1OUT2
0
H0
R/W
✓
✓
✓
✓
9
P1OUT1
0
H0
R/W
–
✓
✓
✓
8
P1OUT0
0
H0
R/W
–
✓
✓
✓
7
P1IN7
0
H0
R
–
–
–
–
✓
6
P1IN6
0
H0
R
–
–
–
✓
5
P1IN5
0
H0
R
✓
✓
✓
✓
4
P1IN4
0
H0
R
✓
✓
✓
✓
3
P1IN3
0
H0
R
✓
✓
✓
✓
2
P1IN2
0
H0
R
✓
✓
✓
✓
1
P1IN1
0
H0
R
–
✓
✓
✓
0
P1IN0
0
H0
R
–
✓
✓
✓
0x4212 P1IOEN
(P1 Port Enable
Register)
15 P1IEN7
0
H0
R/W –
–
–
–
✓
14 P1IEN6
0
H0
R/W
–
–
–
✓
13 P1IEN5
0
H0
R/W
✓
✓
✓
✓
12 P1IEN4
0
H0
R/W
✓
✓
✓
✓
11 P1IEN3
0
H0
R/W
✓
✓
✓
✓
10 P1IEN2
0
H0
R/W
✓
✓
✓
✓
9
P1IEN1
0
H0
R/W
–
✓
✓
✓
8
P1IEN0
0
H0
R/W
–
✓
✓
✓
7
P1OEN7
0
H0
R/W –
–
–
–
✓
6
P1OEN6
0
H0
R/W
–
–
–
✓
5
P1OEN5
0
H0
R/W
✓
✓
✓
✓
4
P1OEN4
0
H0
R/W
✓
✓
✓
✓
3
P1OEN3
0
H0
R/W
✓
✓
✓
✓
2
P1OEN2
0
H0
R/W
✓
✓
✓
✓
1
P1OEN1
0
H0
R/W
–
✓
✓
✓
0
P1OEN0
0
H0
R/W
–
✓
✓
✓
0x4214 P1RCTL
(P1 Port Pull-up/down
Control Register)
15 P1PDPU7
0
H0
R/W –
–
–
–
✓
14 P1PDPU6
0
H0
R/W
–
–
–
✓
13 P1PDPU5
0
H0
R/W
✓
✓
✓
✓
12 P1PDPU4
0
H0
R/W
✓
✓
✓
✓
11 P1PDPU3
0
H0
R/W
✓
✓
✓
✓
10 P1PDPU2
0
H0
R/W
✓
✓
✓
✓
9
P1PDPU1
0
H0
R/W
–
✓
✓
✓
8
P1PDPU0
0
H0
R/W
–
✓
✓
✓
7
P1REN7
0
H0
R/W –
–
–
–
✓
6
P1REN6
0
H0
R/W
–
–
–
✓
5
P1REN5
0
H0
R/W
✓
✓
✓
✓
4
P1REN4
0
H0
R/W
✓
✓
✓
✓
3
P1REN3
0
H0
R/W
✓
✓
✓
✓
2
P1REN2
0
H0
R/W
✓
✓
✓
✓
1
P1REN1
0
H0
R/W
–
✓
✓
✓
0
P1REN0
0
H0
R/W
–
✓
✓
✓
0x4216 P1INTF
(P1 Port Interrupt
Flag Register)
15–8 –
0x00
–
R
–
–
–
–
–
7
P1IF7
0
H0
R/W Cleared
by writing
1.
–
–
–
✓
6
P1IF6
0
H0
R/W
–
–
–
✓
5
P1IF5
0
H0
R/W
✓
✓
✓
✓
4
P1IF4
0
H0
R/W
✓
✓
✓
✓
3
P1IF3
0
H0
R/W
✓
✓
✓
✓
2
P1IF2
0
H0
R/W
✓
✓
✓
✓
1
P1IF1
0
H0
R/W
–
✓
✓
✓
0
P1IF0
0
H0
R/W
–
✓
✓
✓