9 i/O PORTS (P)
9-24
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
P5[6:4] Port Function Select Register (P54_56PMuX)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P5[6:4] Port
Function Select
Register
(P54_56PMuX)
S1C17624/622
0x52ab
(8 bits)
D7
eXCl6S
EXCL6 input select
1 P50/EXCL6 0 P37/EXCL6
0
R/W S1C17624 only
D6
eXCl5S
EXCL5 input select
1 P47/EXCL5 0 P36/EXCL5
0
R/W
D5–4 P56MuX[1:0] P56 port function select
P56MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
TOUTB6/CAPB6
reserved
P56
D3–2 P55MuX[1:0] P55 port function select
P55MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
TOUTA6/CAPA6
reserved
P55
D1–0 P54MuX[1:0] P54 port function select
P54MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
LFRO
P54
note: This register is effective only in the S1C17624/622.
The P54 to P56 port pins are shared with the peripheral module pins. This register is used to select how the pins are
used.
D7
eXCl6S: eXCl6 input Select Bit
Selects a port to be used as the EXCL6 input.
(Selectable only in the S1C17624)
1 (R/W): P50/EXCL6
0 (R/W): P37/EXCL6 (default)
D6
eXCl5S: eXCl5 input Select Bit
Selects a port to be used as the EXCL5 input.
(Selectable only in the S1C17624)
1 (R/W): P47/EXCL5
0 (R/W): P36/EXCL5 (default)
D[5:4]
P56MuX[1:0]: P56 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): TOUTB6 (T16A2 Ch.1 comparator mode)
or CAPB6 (T16A2 Ch.1 capture mode)
(Selectable only in the S1C17624)
0x1 (R/W): Reserved
0x0 (R/W): P56 (default)
D[3:2]
P55MuX[1:0]: P55 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): TOUTA6 (T16A2 Ch.1 comparator mode)
or CAPA6 (T16A2 Ch.1 capture mode)
(Selectable only in the S1C17624)
0x1 (R/W): Reserved
0x0 (R/W): P55 (default)
D[1:0]
P54MuX[1:0]: P54 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): LFRO (LCD)
0x0 (R/W): P54 (default)