RZ/G1M
5. Pin Function Controller (PFC)
R01UH0626EJ0100 Rev.1.00
5-47
Sep 30,2016
5.3.27
Module Select Register (MOD_SEL)
Function: MOD_SEL selects the group for multiple LSI pins with multiplexed pin functions.
Each input or input/output signal of the SCIF, HSCIF, SSI, QSPI, VI , TMU, LBSC, TSIF and MSIOF are assigned to
two or more groups of pins. Select one of these groups when using these signals. Do not use the module pins in the
unselected group; if a module pin in the unselected group is used, correct operation is not guaranteed.
For some modules, however, although the output signals are assigned to two or more groups of pins, there is no bit for
selecting the group. Select one of these pins for each output signal through the corresponding peripheral function select
register. Also note that each pin can only be used in combination with the other input or input/output pins of the same
group. Correct operation is not guaranteed when a pin is used in combination with pins from other groups. When ssi7 and
ssi8 (in MOD_SEL2 register) are to be used simultaneously, the values of sel_ssi7 and sel_ssi8 must be the same so that
the selected pins belong to the same group. If this is not the case, correct operation is not guaranteed.
Bit:
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
—
sel_
scif1_1
sel_
scif1_0
sel_
scifb_1
sel_
scifb_0
sel_
scifb2_1
sel_
scifb2_0
sel_
scifb1_2
sel_
scifb1_1
sel_
scifb1_0
sel_
scifa1_1
sel_
scifa1_0
sel_
ssi9
sel_
scfa
sel_qsp
sel_
ssi7_0
Initial
value:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R/W:
R/W R/W R/W R/W R/W R/W
R/W
R/W
R/W
R/W
R/W
R/W R/W R/W R/W
R/W
Bit:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
sel_
hscif1_2
sel_
hscif1_1
sel_
hscif1_0
— —
sel_
vi1_1
sel_
vi1_0
— —
sel_
tmu1
sel_
lbs_1
sel_
lbs_0
sel_
tsif0_1
sel_
tsif0_0
sel_
sof0_1
sel_
sof0_0
Initial
value:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R/W:
R/W R/W R/W R/W R/W R/W
R/W
R/W
R/W
R/W
R/W
R/W R/W R/W R/W
R/W
Bit Initial
Value
R/W
Description
31 to 0
H'0000 0000
R/W
These bits select multiplexed pin functions as indicated in the table below.
Note: To enable this register to be set, appropriately set the multiplexed pin setting mask register (PMMR) immediately
before setting this register.
Bit Name
Function 1
(Set Value = H'0)
Function 1
*
(Set Value = H'0)
Function 2
(Set Value = H'1)
Function 3
(Set Value = H'2)
Function 4
(Set Value = H'3)
Function 5
(Set Value =
H'4)
sel_scif1
[1:0]
RX1 of the A25 pin
TX1 of the A24 pin
—
RX1_B of the DU1_DG1 pin
TX1_B of the DU1_DG0 pin
RX1_C of the VI0_R7 pin
TX1_C of the VI0_R6 pin
RX1_D of the SSI_SCK9 pin
TX1_D of the SSI_SDATA8
pin
—
sel_scifb
[1:0]
SCIFB0_CTS# of the
HCTS0# pin
SCIFB0_RTS# of the
HRTS0# pin
SCIFB0_RXD of the HRX0
pin
SCIFB0_SCK of the HSCK0
pin
SCIFB0_TXD of the HTX0
pin
— SCIFB0_CTS#_B
of
the
EX_WAIT0 pin
SCIFB0_RTS#_B of the
WE1# pin
SCIFB0_RXD_B of the
RD_WR# pin
SCIFB0_SCK_B of the
SPEEDIN pin
SCIFB0_TXD_B of the WE0#
pin
SCIFB0_RXD_C of the
SSI_SCK0129 pin
SCIFB0_SCK_C of the
AUDIO_CLKC pin
SCIFB0_TXD_C of the
SSI_WS0129 pin
SCIFB0_RXD_D of the
VI0_R7 pin
SCIFB0_SCK_D of the
VI0_G4 pin
SCIFB0_TXD_D of the
VI0_G5 pin
—
sel_scifb2
[1:0]
SCIFB2_CTS# of the VI0_G0
pin
SCIFB2_RTS# of the VI0_G1
pin
SCIFB2_RXD of the VI0_G3
pin
SCIFB2_SCK of the VI0_G2
pin
SCIFB2_TXD of the VI0_G4
pin
— SCIFB2_CTS#_B
of
the
DU1_DG6 pin
SCIFB2_RTS#_B of the
DU1_DG7 pin
SCIFB2_RXD_B of the
DU1_DG4 pin
SCIFB2_SCK_B of the
SPEEDIN pin
SCIFB2_TXD_B of the
DU1_DG5 pin
SCIFB2_RXD_C of the
SSI_SCK0129 pin
SCIFB2_SCK_C of the
STP_ISD_0 pin
SCIFB2_TXD_C of the
SSI_WS0129 pin
SCIFB2_RXD_D of the
STP_ISCLK_0 pin
SCIFB2_TXD_D of the
STP_IVCXO27_0 pin
—
sel_scifb1
[2:0]
SCIFB1_RXD of the HRX1
pin
SCIFB1_SCK of the HSCK1
pin
SCIFB1_TXD of the HTX1
pin
SCIFB1_SCK_B of the
A19 pin
SCIFB1_RXD of the
HRX1 pin
SCIFB1_TXD of the
HTX1 pin
SCIFB1_RXD_B of the
EX_CS5# pin
SCIFB1_SCK_B of the A19
pin
SCIFB1_TXD_B of the BS#
pin
SCIFB1_RXD_C of the A18 pin
SCIFB1_SCK_C of the IRQ1
pin
SCIFB1_TXD_C of the A19 pin
SCIFB1_RXD_D of the IRQ0
pin
SCIFB1_TXD_D of the IRQ2
pin
—