9 i/O PORTS (P)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
9-13
P0[3:0] Port Function Select Register (P00_03PMuX)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P0[3:0] Port
Function Select
Register
(P00_03PMuX)
0x52a0
(8 bits)
D7–6 P03MuX[1:0] P03 port function select
P03MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
#ADTRG
P03
D5–4 P02MuX[1:0] P02 port function select
P02MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
reserved
P02/EXCL0
D3–2 P01MuX[1:0] P01 port function select
P01MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
REMI
P01
D1–0 P00MuX[1:0] P00 port function select
P00MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
REMO
P00
The P00 to P03 port pins are shared with the peripheral module pins. This register is used to select how the pins are
used.
D[7:6]
P03MuX[1:0]: P03 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): #ADTRG (ADC10)
0x0 (R/W): P03 (default)
D[5:4]
P02MuX[1:0]: P02 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): Reserved
0x0 (R/W): P02/EXCL0 (T16 Ch.0) (default)
To use the P02 pin for EXCL0 input, P0OEN2/P0_OEN register must be set to 0 and P0IEN2/P0_IEN
register must be set to 1.
D[3:2]
P01MuX[1:0]: P01 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): REMI (REMC)
0x0 (R/W): P01 (default)
D[1:0]
P00MuX[1:0]: P00 Port Function Select Bits
0x3 (R/W): Reserved
0x2 (R/W): Reserved
0x1 (R/W): REMO (REMC)
0x0 (R/W): P00 (default)