R01UH0823EJ0100 Rev.1.00
Page 460 of 1823
Jul 31, 2019
RX23W Group
22. Multi-Function Pin Controller (MPC)
22.2.4
P2n Pin Function Control Register (P2nPFS) (n = 1, 2, 5 to 7)
—: Do not specify this value.
—: Do not specify this value.
Address(es): P21PFS 0008 C151h, P22PFS 0008 C152h, P25PFS 0008 C155h, P26PFS 0008 C156h,
P27PFS 0008 C157h
b7
b6
b5
b4
b3
b2
b1
b0
ASEL
—
—
PSEL[4:0]
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b4 to b0
Pin Function Select
These bits select the peripheral function. For individual pin functions,
see the tables below.
R/W
b6, b5
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b7
Analog Function Select
0: Used other than as analog pin
1: Used as analog pin
P26: CMPB3 (85/56 pins)
P27: CVREFB3 (85/56 pins)
R/W
Table 22.4
Register Settings for Input/Output Pin Function in 85-Pin
PSEL[4:0]
Settings
Pin
P21
P22
P25
P26
P27
00000b
(initial value)
Hi-Z
00001b
MTIOC1B
MTIOC3B
MTIOC4C
MTIOC2A
MTIOC2B
00010b
—
MTCLKC
MTCLKB
—
—
00011b
TIOCA3
TIOCC3
TIOCA4
—
—
00101b
TMCI0
TMO0
—
TMO1
TMCI3
01001b
—
—
ADTRG0#
—
—
01010b
—
—
—
TXD1
SMOSI1
SSDA1
SCK1
10001b
USB0_EXICEN
USB0_OVRCURB
—
USB0_VBUSEN
—
10111b
SSIWS0
AUDIO_MCLK
—
SSIRXD0
SSIWS0
11001b
TS8
TS7
TS4
TS3
TS2
Table 22.5
Register Settings for Input/Output Pin Function in 56-Pin
PSEL[4:0]
Settings
Pin
P26
P27
00000b
(initial value)
Hi-Z
00001b
MTIOC2A
MTIOC2B
00101b
TMO1
TMCI3
01010b
TXD1
SMOSI1
SSDA1
SCK1
10001b
USB0_VBUSEN
—
10111b
SSIRXD0
SSIWS0
11001b
TS3
TS2