6 I/O PORTS (PPORT)
6-16
Seiko Epson Corporation
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
M20/M23 M21/
M24
M22/
M25
24pin 32pin
P1CHATEN
(P1 Port Chattering
Filter Enable Register)
15–8 –
0x00
–
R
–
–
–
–
–
7
P1CHATEN7
0
H0
R/W –
–
–
–
✓
6
P1CHATEN6
0
H0
R/W
–
–
–
✓
5
P1CHATEN5
0
H0
R/W
✓
✓
✓
✓
4
P1CHATEN4
0
H0
R/W
✓
✓
✓
✓
3
P1CHATEN3
0
H0
R/W
✓
✓
✓
✓
2
P1CHATEN2
0
H0
R/W
✓
✓
✓
✓
1
P1CHATEN1
0
H0
R/W
–
✓
✓
✓
0
P1CHATEN0
0
H0
R/W
–
✓
✓
✓
P1MODSEL
(P1 Port Mode Select
Register)
15–8 –
0x00
–
R
–
–
–
–
–
7
P1SEL7
0
H0
R/W –
–
–
–
✓
6
P1SEL6
0
H0
R/W
–
–
–
✓
5
P1SEL5
0
H0
R/W
✓
✓
✓
✓
4
P1SEL4
0
H0
R/W
✓
✓
✓
✓
3
P1SEL3
0
H0
R/W
✓
✓
✓
✓
2
P1SEL2
0
H0
R/W
✓
✓
✓
✓
1
P1SEL1
0
H0
R/W
–
✓
✓
✓
0
P1SEL0
0
H0
R/W
–
✓
✓
✓
P1FNCSEL
(P1 Port Function
Select Register)
15–14 P17MUX[1:0]
0x0
H0
R/W –
–
–
–
✓
13–12 P16MUX[1:0]
0x0
H0
R/W
–
–
–
✓
11–10 P15MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
9–8 P14MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
7–6 P13MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
5–4 P12MUX[1:0]
0x0
H0
R/W
✓
✓
✓
✓
3–2 P11MUX[1:0]
0x0
H0
R/W
–
✓
✓
✓
1–0 P10MUX[1:0]
0x0
H0
R/W
–
✓
✓
✓
Table 6.7.2.2 P1 Port Group Function Assignment
Port
name
P1SELy = 0
P1SELy = 1
M20/M23 M21/
M24
M22/
M25
GPIO
P1yMUX = 0x0
(Function 0)
P1yMUX = 0x1
(Function 1)
P1yMUX = 0x2
(Function 2)
P1yMUX = 0x3
(Function 3)
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
Peripheral
Pin
24pin 32pin
P10
P10
–
–
UPMUX
*
1
–
–
–
–
–
✓
✓
✓
P11
P11
–
–
UPMUX
*
1
–
–
–
–
–
✓
✓
✓
P12
P12
REMC3
REMO
UPMUX
*
1
–
–
–
–
✓
✓
✓
✓
P13
P13
CLG
FOUT
UPMUX
*
1
–
–
–
–
✓
✓
✓
✓
P14
P14
ADC12A #ADTRG0 UPMUX
*
1
–
–
–
–
✓
✓
✓
✓
P15
P15
REMC3
CLPLS
UPMUX
*
1
–
–
–
–
✓
✓
✓
✓
P16
P16
–
–
UPMUX
*
1
–
–
–
–
–
–
–
✓
P17
P17
–
–
UPMUX
*
1
–
–
–
–
–
–
–
✓
*
1: Refer to the “Universal Port Multiplexer” chapter.