6 I/O PORTS (PPORT)
6.7 Control Register and Port Function Configuration of this IC
This section shows the PPORT control register/bit configuration in this IC and the list of peripheral I/O functions
selectable for each port.
Note: The control bits for the ports that are not available in the model are reserved bits. Do not alter
them from the initial value.
6.7.1 P0 Port Group
The P0 port group supports the GPIO and interrupt functions.
Register name
Bit
P0DAT
15
(P0 Port Data
14
Register)
13
12
11
10
9
8
7
6
5
4
3
2
1
0
P0IOEN
15
(P0 Port Enable
14
Register)
13
12
11
10
9
8
7
6
5
4
3
2
1
0
6-12
Table 6.7.1.1 Control Registers for P0 Port Group
Bit name
Initial
P0OUT7
0
P0OUT6
0
P0OUT5
0
P0OUT4
0
P0OUT3
0
P0OUT2
0
P0OUT1
0
P0OUT0
0
P0IN7
0
P0IN6
0
P0IN5
0
P0IN4
0
P0IN3
0
P0IN2
0
P0IN1
0
P0IN0
0
P0IEN7
0
P0IEN6
0
P0IEN5
0
P0IEN4
0
P0IEN3
0
P0IEN2
0
P0IEN1
0
P0IEN0
0
P0OEN7
0
P0OEN6
0
P0OEN5
0
P0OEN4
0
P0OEN3
0
P0OEN2
0
P0OEN1
0
P0OEN0
0
Seiko Epson Corporation
Reset
R/W
Remarks
H0
R/W
–
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R
–
H0
R
H0
R
H0
R
H0
R
H0
R
H0
R
H0
R
H0
R/W
–
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
–
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
S1C17M20/M21/M22/M23/M24/M25
M20/M23 M21/
M22/
24pin 32pin
M24
M25
–
–
–
✓
–
–
–
✓
–
–
–
✓
–
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
–
✓
–
–
–
✓
–
–
–
✓
–
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
–
✓
–
–
–
✓
–
–
–
✓
–
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
–
✓
–
–
–
✓
–
–
–
✓
–
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
TECHNICAL MANUAL (Rev. 1.0)