6 I/O PORTS (PPORT)
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
6-13
TECHNICAL MANUAL (Rev. 1.0)
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
M20/M23 M21/
M24
M22/
M25
24pin 32pin
P0RCTL
(P0 Port Pull-up/down
Control Register)
15 P0PDPU7
0
H0
R/W –
–
–
–
✓
14 P0PDPU6
0
H0
R/W
–
–
–
✓
13 P0PDPU5
0
H0
R/W
–
–
–
✓
12 P0PDPU4
0
H0
R/W
–
–
–
✓
11 P0PDPU3
0
H0
R/W
✓
✓
✓
✓
10 P0PDPU2
0
H0
R/W
✓
✓
✓
✓
9
P0PDPU1
0
H0
R/W
✓
✓
✓
✓
8
P0PDPU0
0
H0
R/W
✓
✓
✓
✓
7
P0REN7
0
H0
R/W –
–
–
–
✓
6
P0REN6
0
H0
R/W
–
–
–
✓
5
P0REN5
0
H0
R/W
–
–
–
✓
4
P0REN4
0
H0
R/W
–
–
–
✓
3
P0REN3
0
H0
R/W
✓
✓
✓
✓
2
P0REN2
0
H0
R/W
✓
✓
✓
✓
1
P0REN1
0
H0
R/W
✓
✓
✓
✓
0
P0REN0
0
H0
R/W
✓
✓
✓
✓
P0INTF
(P0 Port Interrupt
Flag Register)
15–8 –
0x00
–
R
–
–
–
–
–
7
P0IF7
0
H0
R/W Cleared by writing
1.
–
–
–
✓
6
P0IF6
0
H0
R/W
–
–
–
✓
5
P0IF5
0
H0
R/W
–
–
–
✓
4
P0IF4
0
H0
R/W
–
–
–
✓
3
P0IF3
0
H0
R/W
✓
✓
✓
✓
2
P0IF2
0
H0
R/W
✓
✓
✓
✓
1
P0IF1
0
H0
R/W
✓
✓
✓
✓
0
P0IF0
0
H0
R/W
✓
✓
✓
✓
P0INTCTL
(P0 Port Interrupt
Control Register)
15 P0EDGE7
0
H0
R/W –
–
–
–
✓
14 P0EDGE6
0
H0
R/W
–
–
–
✓
13 P0EDGE5
0
H0
R/W
–
–
–
✓
12 P0EDGE4
0
H0
R/W
–
–
–
✓
11 P0EDGE3
0
H0
R/W
✓
✓
✓
✓
10 P0EDGE2
0
H0
R/W
✓
✓
✓
✓
9
P0EDGE1
0
H0
R/W
✓
✓
✓
✓
8
P0EDGE0
0
H0
R/W
✓
✓
✓
✓
7
P0IE7
0
H0
R/W –
–
–
–
✓
6
P0IE6
0
H0
R/W
–
–
–
✓
5
P0IE5
0
H0
R/W
–
–
–
✓
4
P0IE4
0
H0
R/W
–
–
–
✓
3
P0IE3
0
H0
R/W
✓
✓
✓
✓
2
P0IE2
0
H0
R/W
✓
✓
✓
✓
1
P0IE1
0
H0
R/W
✓
✓
✓
✓
0
P0IE0
0
H0
R/W
✓
✓
✓
✓
P0CHATEN
(P0 Port Chattering
Filter Enable Register)
15–8 –
0x00
–
R
–
–
–
–
–
7
P0CHATEN7
0
H0
R/W –
–
–
–
✓
6
P0CHATEN6
0
H0
R/W
–
–
–
✓
5
P0CHATEN5
0
H0
R/W
–
–
–
✓
4
P0CHATEN4
0
H0
R/W
–
–
–
✓
3
P0CHATEN3
0
H0
R/W
✓
✓
✓
✓
2
P0CHATEN2
0
H0
R/W
✓
✓
✓
✓
1
P0CHATEN1
0
H0
R/W
✓
✓
✓
✓
0
P0CHATEN0
0
H0
R/W
✓
✓
✓
✓