9 i/O PORTS (P)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
9-23
P5[3:0] Port Function Select Register (P50_53PMuX)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P5[3:0] Port
Function Select
Register
(P50_53PMuX)
S1C17624/622
0x52aa
(8 bits)
D7–6 P53MuX[1:0] P53 port function select
P53MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
#BFR
P53
D5–4 P52MuX[1:0] P52 port function select
P52MUX[1:0]
Function
0x0 R/W TOUTB5/CAPB5:
S1C17624 only
0x3
0x2
0x1
0x0
reserved
TOUTB5/CAPB5
SIN1
P52
D3–2 P51MuX[1:0] P51 port function select
P51MUX[1:0]
Function
0x0 R/W TOUTA5/CAPA5:
S1C17624 only
0x3
0x2
0x1
0x0
reserved
TOUTA5/CAPA5
SOUT1
P51
D1–0 P50MuX[1:0] P50 port function select
P50MUX[1:0]
Function
0x0 R/W EXCL6:
S1C17624 only
(Set EXCL6S to 1.)
0x3
0x2
0x1
0x0
reserved
reserved
SCLK1
P50/EXCL6
note: This register is effective only in the S1C17624/622.
The P50 to P53 port pins are shared with the peripheral module pins. This register is used to select how the pins are
used.
D[7:6]
P53MuX[1:0]: P53 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): #BFR (I2CS)
0x0 (R/W): P53 (default)
D[5:4]
P52MuX[1:0]: P52 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): TOUTB5 (T16A2 Ch.0 comparator mode)
or CAPB5 (T16A2 Ch.0 capture mode)
(Selectable only in the S1C17624)
0x1 (R/W): SIN1 (UART Ch.1)
0x0 (R/W): P52 (default)
D[3:2]
P51MuX[1:0]: P51 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): TOUTA5 (T16A2 Ch.0 comparator mode)
or CAPA5 (T16A2 Ch.0 capture mode)
(Selectable only in the S1C17624)
0x1 (R/W): SOUT1 (UART Ch.1)
0x0 (R/W): P51 (default)
D[1:0]
P50MuX[1:0]: P50 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): SCLK1 (UART Ch.1)
0x0 (R/W): P50/EXCL6 (T16A Ch.1) (default)
(EXCL6 is available only in the S1C17624.)
To use the P50 pin for EXCL6 input, set P5OEN0/P5_OEN register to 0, P5IEN0/P5_IEN register to 1
and EXCL6S/P54_56PMUX register to 1.