
ViPeRiPheRaLMoDuLes4(PoRts):GeneRaL-PuRPosei/oPoRts(GPio)
Vi-1-14
ePson
s1C33L17teChniCaLManuaL
0x3003a0–0x3003B3:PxxPortFunctionselectRegisters(pPx_xx_CFP)
name
address
Registername
Bit
Function
setting
init. R/W
Remarks
CFPx31
CFPx30
or
CFPx71
CFPx70
CFPx21
CFPx20
or
CFPx61
CFPx60
CFPx11
CFPx10
or
CFPx51
CFPx50
CFPx01
CFPx00
or
CFPx41
CFPx40
D7
D6
D5
D4
D3
D2
D1
D0
Px3/Px7portextendedfunction
Px2/Px6portextendedfunction
Px1/Px5portextendedfunction
Px0/Px4portextendedfunction
0
R/W
003003a0
|
003003B3
(B)
Px0–Px3
portfunction
selectregister
(pPx_03_CFP)
or
Px4–Px7
portfunction
selectregister
(pPx_47_CFP)
CFPx3/7[1:0]
Function
Pinfunction3
Pinfunction2
Pinfunction1
Pinfunction0
CFPx2/6[1:0]
Function
Pinfunction3
Pinfunction2
Pinfunction1
Pinfunction0
CFPx1/5[1:0]
Function
Pinfunction3
Pinfunction2
Pinfunction1
Pinfunction0
11
10
01
00
11
10
01
00
11
10
01
00
11
10
01
00
CFPx0/4[1:0]
Function
Pinfunction3
Pinfunction2
Pinfunction1
Pinfunction0
note: Theletter‘x’inbitnames,etc.,denotesaportnumberfrom0to9.
0x3003A0 P00–P03PortFunctionSelectRegister(pP0_03_CFP)
0x3003A1 P04–P07PortFunctionSelectRegister(pP0_47_CFP)
0x3003A2 P10–P13PortFunctionSelectRegister(pP1_03_CFP)
0x3003A3 P14–P17PortFunctionSelectRegister(pP1_47_CFP)
0x3003A4 P20–P23PortFunctionSelectRegister(pP2_03_CFP)
0x3003A5 P24–P27PortFunctionSelectRegister(pP2_47_CFP)
0x3003A6 P30–P33PortFunctionSelectRegister(pP3_03_CFP)
0x3003A7 P34–P36PortFunctionSelectRegister(pP3_46_CFP)
0x3003A8 P40–P43PortFunctionSelectRegister(pP4_03_CFP)
0x3003A9 P44–P47PortFunctionSelectRegister(pP4_47_CFP)
0x3003AA P50–P53PortFunctionSelectRegister(pP5_03_CFP)
0x3003AB P54–P57PortFunctionSelectRegister(pP5_47_CFP)
0x3003AC P60–P63PortFunctionSelectRegister(pP6_03_CFP)
0x3003AD P64–P67PortFunctionSelectRegister(pP6_47_CFP)
0x3003AE P70–P73PortFunctionSelectRegister(pP7_03_CFP)
0x3003AF P74PortFunctionSelectRegister(pP7_4_CFP)
0x3003B0 P80–P83PortFunctionSelectRegister(pP8_03_CFP)
0x3003B1 P84–P85PortFunctionSelectRegister(pP8_45_CFP)
0x3003B2 P90–P93PortFunctionSelectRegister(pP9_03_CFP)
0x3003B3 P94–P97PortFunctionSelectRegister(pP9_47_CFP)
These bits select the function of each I/O port pin. (Default: 0b00 = Pin function 0)
The I/O ports concurrently serve as the input/output pins for peripheral circuits or bus signals. Whether they are
used as I/O ports or for peripheral circuits/bus signals can be selected bit-for-bit using these registers. All pins not
used for peripheral circuits/bus signals can be used as general-purpose I/O ports.
For details of pin functions, see Section I.3.3, “Switching Over the Multiplexed Pin Functions.”