/* Sets the IOMUXC pin mux mode. 
This is an example to set the GPIO1_IO02 Pad as I2C1_SCL:  */
static void _IOMUXC_SetPinMux(uint32_t muxRegister, uint32_t muxMode, uint32_t inputRegister, uint32_t inputDaisy, uint32_t configRegister, uint32_t inputOnfield)
/* Sets the IOMUXC pin mux mode. 
This is an example to set the GPIO1_IO02 Pad as I2C1_SCL:  */
static void _IOMUXC_SetPinMux(uint32_t muxRegister, uint32_t muxMode, uint32_t inputRegister, uint32_t inputDaisy, uint32_t configRegister, uint32_t inputOnfield)
{
    *((volatile uint32_t *)rt_ioremap((void*)muxRegister, 0x4)) =
        IOMUXC_SW_MUX_CTL_PAD_MUX_MODE(muxMode) | IOMUXC_SW_MUX_CTL_PAD_SION(inputOnfield);
    if (inputRegister)
    {
        *((volatile uint32_t *)rt_ioremap((void*)inputRegister, 0x4)) = IOMUXC_SELECT_INPUT_DAISY(inputDaisy);
    }
}