RZ/G1M
5. Pin Function Controller (PFC)
R01UH0626EJ0100 Rev.1.00
5-88
Sep 30,2016
(2)
Procedure for changing pin function from peripheral function to GPIO
Set the LSI multiplexed pin setting mask register
Set the GPIO/peripheral function select register to GPIO
Clock (CP
φ
)
Pin
GP
1
GPIO
Peripheral function
Peripheral function select value
0
IP
[Legend]
GP: GPIO/peripheral function select register bit
IP: Peripheral function select register bit
Figure 5.2 Procedure for Changing Pin Function from Peripheral function to GPIO
When changing pin function from peripheral function to GPIO of LSI pin in the below list, make sure to disable the data
reception of corresponding SCIFAn channel before performing the sequence in the Figure 5.2.
LSI Pin
Pin Function
DU1_DB6 SCIFA3_RXD
ETH_REFCLK SCIFA3_RXD_B
GPS_MAG SCIFA4_RXD_C
GPS_SIGN SCIFA3_RXD_C
SD0_WP SCIFA5_RXD_B
SD3_WP SCIFA5_RXD_C
VI0_FIELD SCIFA4_RXD_
VI0_VSYNC# SCIFA5_RXD
VI1_VSYNC# SCIFA4_RXD_B
(3)
Procedure 1 for changing pin function from one peripheral function to another peripheral function
Set the LSI multiplexed pin setting mask register
Set the LSI multiplexed pin setting mask register
Set the GPIO/peripheral function select register
(GP) to GPIO
Set the peripheral function select register (IP)
Clock (CP
φ
)
Pin
GP
0
GPIO
Peripheral function
after change
Peripheral function
before change
Set value
after change
Set value
before change
1
IP
Set the LSI multiplexed pin setting mask register
Set the GPIO/peripheral function select register
(GP) to peripheral function
[Legend]
GP: GPIO/peripheral function select register bit
IP: Peripheral function select register bit
1
Figure 5.3 Procedure for Changing Pin Function from One Peripheral Function to Another Peripheral
Function (with GPIO Setting)
Summary of Contents for RZ/G1M
Page 184: ...RZ G1M R01UH0626EJ0100 ...