![background image](http://html.mh-extra.com/html/epson/s1c17602/s1c17602_technical-manual_107783105.webp)
9 i/O PORTS (P)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
9-15
P1[3:0] Port Function Select Register (P10_13PMuX)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P1[3:0] Port
Function Select
Register
(P10_13PMuX)
0x52a2
(8 bits)
D7–6 P13MuX[1:0] P13 port function select
P13MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
AIN7
reserved
P13/EXCL1
D5–4 P12MuX[1:0] P12 port function select
P12MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
SIN0
P12
D3–2 P11MuX[1:0] P11 port function select
P11MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
SOUT0
P11
D1–0 P10MuX[1:0] P10 port function select
P10MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
SCLK0
P10
The P10 to P13 port pins are shared with the peripheral module pins. This register is used to select how the pins are
used.
D[7:6]
P13MuX[1:0]: P13 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): AIN7 (ADC10)
0x1 (R/W): Reserved
0x0 (R/W): P13/EXCL1 (T16 Ch.1) (default)
To use the P13 pin for EXCL1 input, P1OEN3/P1_OEN register must be set to 0 and P1IEN3/P1_IEN
register must be set to 1.
D[5:4]
P12MuX[1:0]: P12 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): SIN0 (UART Ch.0)
0x0 (R/W): P12 (default)
D[3:2]
P11MuX[1:0]: P11 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): SOUT0 (UART Ch.0)
0x0 (R/W): P11 (default)
D[1:0]
P10MuX[1:0]: P10 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): SCLK0 (UART Ch.0)
0x0 (R/W): P10 (default)