9 I/O PORTS (P)
9-20
Seiko Epson Corporation
S1C17624/604/622/602/621 TECHNICAL MANUAL
P3[7:4] Port Function Select Register (P34_37PMUX)
Register name Address Bit Name Function Setting Init. R/W Remarks
P3[7:4] Port
Function Select
Register
(P34_37PMUX)
0x52a7
(8 bits)
D7–6
P37MUX[1:0]
P37 port function select P37MUX[1:0] Function 0x0 R/W EXCL6:
S1C17624/604 only
(Set EXCL6S to 0 in
S1C17624.)
0x3
0x2
0x1
0x0
TOUT4
LFRO
TOUTN3
P37/EXCL6
D5–4
P36MUX[1:0]
P36 port function select P36MUX[1:0] Function 0x0 R/W EXCL5:
S1C17624/604 only
(Set EXCL5S to 0 in
S1C17624.)
0x3
0x2
0x1
0x0
reserved
RFCLKO
TOUT3
P36/EXCL5
D3–2
P35MUX[1:0]
P35 port function select P35MUX[1:0] Function 0x0 R/W
0x3
0x2
0x1
0x0
reserved
#BFR
FOUT1
P35
D1–0
P34MUX[1:0]
P34 port function select P34MUX[1:0] Function 0x0 R/W TOUTB6/CAPB6:
S1C17624/604 only
0x3
0x2
0x1
0x0
TOUTB6/CAPB6
SDA0
SDA1
P34
The P34 to P37 port pins are shared with the peripheral module pins. This register is used to select how the pins are
used.
D[7:6] P37MUX[1:0]: P37 Port Function Select Bits
0x3 (R/W): TOUT4 (T8OSC1)
0x2 (R/W): LFRO (LCD)
0x1 (R/W): TOUTN3 (T16E Ch.0)
0x0 (R/W): P37/EXCL6 (T16A2 Ch.1) (default) (EXCL6 is available only in the S1C17624/604
.)
To use the P37 pin for EXCL6 input, P3OEN7/P3_OEN register must be set to 0 and P3IEN7/P3_IEN
register must be set to 1. In addition to these settings, EXCL6S/P54_56PMUX register must be set to 0
in the S1C17624.
D[5:4] P36MUX[1:0]: P36 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): RFCLKO (RFC)
0x1 (R/W): TOUT3 (T16E Ch.0)
0x0 (R/W): P36/EXCL5 (T16A2 Ch.0) (default) (EXCL5 is available only in the S1C17624/604.)
To use the P36 pin
for EXCL5 input, P3OEN6/P3_OEN register must be set to 0 and P3IEN6/P3_IEN
register must be set to 1. In addition to these settings, EXCL5S/P54_56PMUX register must be set to 0
in the S1C17624.
D[3:2] P35MUX[1:0]: P35 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): #BFR (I2CS)
0x1 (R/W): FOUT1 (CLG)
0x0 (R/W): P35 (default)
D[1:0] P34MUX[1:0]: P34 Port Function Select Bits
0x3 (R/W): TOUTB6 (T16A2 Ch.1 comparator mode)
or CAPB6 (T16A2 Ch.1 capture mode) (Selectable only in the S1C
17624/604)
0x2 (R/W): SDA0 (I2CM)
0x1 (R/W): SDA1 (I2CS)
0x0 (R/W): P34 (default)