FreeRTOS/Demo/RX700_RX72N_EnvisionKit_Renesas_e2studio_CS+/src/smc_gen/r_pincfg/Pin.c
/***********************************************************************************************************************
* Function Name: R_Pins_Create
* Description  : This function initializes Smart Configurator pins
* Arguments    : None
* Return Value : None
***********************************************************************************************************************/
Function Name: R_Pins_Create
Description  : This function initializes Smart Configurator pins
Arguments    : None
Return Value : None
Function Name : R_Pins_Create Description : This function initializes Smart Configurator pins Arguments : None Return Value : None
void R_Pins_Create(void)
{
    R_BSP_RegisterProtectDisable(BSP_REG_PROTECT_MPC);
    MPC.P56PFS.BYTE = 0x2AU;
    PORT5.PMR.BYTE |= 0x40U;
    MPC.P12PFS.BYTE = 0x0AU;
    PORT1.PMR.BYTE |= 0x04U;
    MPC.PB6PFS.BYTE = 0x0AU;
    PORTB.PMR.BYTE |= 0x40U;
    PORT1.PODR.BYTE |= 0x08U;
    MPC.P13PFS.BYTE = 0x0AU;
    PORT1.PDR.BYTE |= 0x08U;
    PORTB.PODR.BYTE |= 0x80U;
    MPC.PB7PFS.BYTE = 0x0AU;
    PORTB.PDR.BYTE |= 0x80U;
    R_BSP_RegisterProtectEnable(BSP_REG_PROTECT_MPC);
}
void R_Pins_Create ( void ) { R_BSP_RegisterProtectDisable ( BSP_REG_PROTECT_MPC ) ; MPC . P56PFS . BYTE = 0x2AU ; PORT5 . PMR . BYTE |= 0x40U ; MPC . P12PFS . BYTE = 0x0AU ; PORT1 . PMR . BYTE |= 0x04U ; MPC . PB6PFS . BYTE = 0x0AU ; PORTB . PMR . BYTE |= 0x40U ; PORT1 . PODR . BYTE |= 0x08U ; MPC . P13PFS . BYTE = 0x0AU ; PORT1 . PDR . BYTE |= 0x08U ; PORTB . PODR . BYTE |= 0x80U ; MPC . PB7PFS . BYTE = 0x0AU ; PORTB . PDR . BYTE |= 0x80U ; R_BSP_RegisterProtectEnable ( BSP_REG_PROTECT_MPC ) ; }
Function Name: R_Pins_Create
Description  : This function initializes Smart Configurator pins
Arguments    : None
Return Value : None
Function Name : R_Pins_Create Description : This function initializes Smart Configurator pins Arguments : None Return Value : None
/* Set CLKOUT25M pin */ /* Set RXD2 pin */ /* Set RXD9 pin */ /* Set TXD2 pin */ // PORT1.PMR.BIT.B3 = 1U; // Please set the PMR bit after TE bit is set to 1. /* Set TXD9 pin */ // PORTB.PMR.BIT.B7 = 1U; // Please set the PMR bit after TE bit is set to 1.