24 I/O PORTS (GPIO)
24-26
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
P0[3:0] Port Function Select Register (PMUX_P0_03)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
P0[3:0] Port
Function Select
Register
(PMUX_P0_03)
0x300800
(8 bits)
D7–6 CFP03[1:0] P03 port function select
CFP03[1:0]
Function
0x0 R/W Write-protected
0x3
0x2
0x1
0x0
REMC_I
#SRDY1
USI_CK
P03
D5–4 CFP02[1:0] P02 port function select
CFP02[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
REMC_O
SCLK1
USI_CS
P02
D3–2 CFP01[1:0] P01 port function select
CFP01[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
#NAND_RD
SOUT1
USI_DO
P01
D1–0 CFP00[1:0] P00 port function select
CFP00[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
#NAND_WR
SIN1
USI_DI
P00
The GPIO pins are shared with the peripheral module pins. This register is used to select how the pins are used.
D[7:6]
CFP03[1:0]: P03 Port Function Select Bits
0x3 (R/W): REMC_I (REMC)
0x2 (R/W): #SRDY1 (FSIO Ch.1)
0x1 (R/W): USI_CK (USI)
0x0 (R/W): P03 (GPIO) (default)
D[5:4]
CFP02[1:0]: P02 Port Function Select Bits
0x3 (R/W): REMC_O (REMC)
0x2 (R/W): SCLK1 (FSIO Ch.1)
0x1 (R/W): USI_CS (USI)
0x0 (R/W): P02 (GPIO) (default)
D[3:2]
CFP01[1:0]: P01 Port Function Select Bits
0x3 (R/W): #NAND_RD (CARD)
0x2 (R/W): SOUT1 (FSIO Ch.1)
0x1 (R/W): USI_DO (USI)
0x0 (R/W): P01 (GPIO) (default)
D[1:0]
CFP00[1:0]: P00 Port Function Select Bits
0x3 (R/W): #NAND_WR (CARD)
0x2 (R/W): SIN1 (FSIO Ch.1)
0x1 (R/W): USI_DI (USI)
0x0 (R/W): P00 (GPIO) (default)