forked from xuos/xiuos
Ubiquitous/RT_Thread/:update board.c in xidatong board, add macro definition in it.
This commit is contained in:
parent
ed3c39c9fd
commit
30d532f35d
|
@ -32,7 +32,7 @@ int main(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BSP_USING_SDRAM
|
#ifdef BSP_USING_SDRAM
|
||||||
static void sram_test2(void)
|
static void sdram_test2(void)
|
||||||
{
|
{
|
||||||
char *p =NULL;
|
char *p =NULL;
|
||||||
p = rt_malloc(1024*1024*8);
|
p = rt_malloc(1024*1024*8);
|
||||||
|
@ -46,5 +46,5 @@ static void sram_test2(void)
|
||||||
}
|
}
|
||||||
rt_free(p);
|
rt_free(p);
|
||||||
}
|
}
|
||||||
MSH_CMD_EXPORT(sram_test2, sram test2);
|
MSH_CMD_EXPORT(sdram_test2, sdram test2);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -84,606 +84,6 @@ void BOARD_InitPins(void)
|
||||||
IOMUXC_SetPinConfig(
|
IOMUXC_SetPinConfig(
|
||||||
IOMUXC_GPIO_AD_B0_13_LPUART1_RX, /* GPIO_AD_B0_13 PAD functional properties : */
|
IOMUXC_GPIO_AD_B0_13_LPUART1_RX, /* GPIO_AD_B0_13 PAD functional properties : */
|
||||||
0x10B0u);
|
0x10B0u);
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_AD_B1_02_LPUART2_TX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_AD_B1_03_LPUART2_RX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_AD_B1_02_LPUART2_TX,
|
|
||||||
0x10B0u);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_AD_B1_03_LPUART2_RX,
|
|
||||||
0x10B0u);
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_AD_B1_06_LPUART3_TX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_AD_B1_07_LPUART3_RX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_AD_B1_06_LPUART3_TX,
|
|
||||||
0x10B0u);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_AD_B1_07_LPUART3_RX,
|
|
||||||
0x10B0u);
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_B1_00_LPUART4_TX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_B1_01_LPUART4_RX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_B1_00_LPUART4_TX,
|
|
||||||
0x10B0u);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_B1_01_LPUART4_RX,
|
|
||||||
0x10B0u);
|
|
||||||
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_AD_B1_10_LPUART8_TX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_AD_B1_11_LPUART8_RX,
|
|
||||||
0U);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_AD_B1_10_LPUART8_TX,
|
|
||||||
0x10B0u);
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_AD_B1_11_LPUART8_RX,
|
|
||||||
0x10B0u);
|
|
||||||
|
|
||||||
/* Semc io initialize sdram can used*/
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 is configured as SEMC_DATA00 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_01_SEMC_DATA01, /* GPIO_EMC_01 is configured as SEMC_DATA01 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_02_SEMC_DATA02, /* GPIO_EMC_02 is configured as SEMC_DATA02 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_03_SEMC_DATA03, /* GPIO_EMC_03 is configured as SEMC_DATA03 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_04_SEMC_DATA04, /* GPIO_EMC_04 is configured as SEMC_DATA04 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_05_SEMC_DATA05, /* GPIO_EMC_05 is configured as SEMC_DATA05 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_06_SEMC_DATA06, /* GPIO_EMC_06 is configured as SEMC_DATA06 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_07_SEMC_DATA07, /* GPIO_EMC_07 is configured as SEMC_DATA07 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_08_SEMC_DM00, /* GPIO_EMC_08 is configured as SEMC_DM00 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_09_SEMC_ADDR00, /* GPIO_EMC_09 is configured as SEMC_ADDR00 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_10_SEMC_ADDR01, /* GPIO_EMC_10 is configured as SEMC_ADDR01 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_11_SEMC_ADDR02, /* GPIO_EMC_11 is configured as SEMC_ADDR02 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_12_SEMC_ADDR03, /* GPIO_EMC_12 is configured as SEMC_ADDR03 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_13_SEMC_ADDR04, /* GPIO_EMC_13 is configured as SEMC_ADDR04 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_14_SEMC_ADDR05, /* GPIO_EMC_14 is configured as SEMC_ADDR05 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_15_SEMC_ADDR06, /* GPIO_EMC_15 is configured as SEMC_ADDR06 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_16_SEMC_ADDR07, /* GPIO_EMC_16 is configured as SEMC_ADDR07 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_17_SEMC_ADDR08, /* GPIO_EMC_17 is configured as SEMC_ADDR08 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_18_SEMC_ADDR09, /* GPIO_EMC_18 is configured as SEMC_ADDR09 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_19_SEMC_ADDR11, /* GPIO_EMC_19 is configured as SEMC_ADDR11 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_20_SEMC_ADDR12, /* GPIO_EMC_20 is configured as SEMC_ADDR12 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_21_SEMC_BA0, /* GPIO_EMC_21 is configured as SEMC_BA0 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_22_SEMC_BA1, /* GPIO_EMC_22 is configured as SEMC_BA1 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_23_SEMC_ADDR10, /* GPIO_EMC_23 is configured as SEMC_ADDR10 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_24_SEMC_CAS, /* GPIO_EMC_24 is configured as SEMC_CAS */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_25_SEMC_RAS, /* GPIO_EMC_25 is configured as SEMC_RAS */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_26_SEMC_CLK, /* GPIO_EMC_26 is configured as SEMC_CLK */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_27_SEMC_CKE, /* GPIO_EMC_27 is configured as SEMC_CKE */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_28_SEMC_WE, /* GPIO_EMC_28 is configured as SEMC_WE */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_29_SEMC_CS0, /* GPIO_EMC_29 is configured as SEMC_CS0 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_30_SEMC_DATA08, /* GPIO_EMC_30 is configured as SEMC_DATA08 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_31_SEMC_DATA09, /* GPIO_EMC_31 is configured as SEMC_DATA09 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_32_SEMC_DATA10, /* GPIO_EMC_32 is configured as SEMC_DATA10 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_33_SEMC_DATA11, /* GPIO_EMC_33 is configured as SEMC_DATA11 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_34_SEMC_DATA12, /* GPIO_EMC_34 is configured as SEMC_DATA12 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_35_SEMC_DATA13, /* GPIO_EMC_35 is configured as SEMC_DATA13 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_36_SEMC_DATA14, /* GPIO_EMC_36 is configured as SEMC_DATA14 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_37_SEMC_DATA15, /* GPIO_EMC_37 is configured as SEMC_DATA15 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 is configured as SEMC_DM01 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_39_SEMC_DQS, /* GPIO_EMC_39 is configured as SEMC_DQS */
|
|
||||||
1U); /* Software Input On Field: Force input path of pad GPIO_EMC_39 */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_40_SEMC_RDY, /* GPIO_EMC_40 is configured as SEMC_RDY */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
IOMUXC_SetPinMux(
|
|
||||||
IOMUXC_GPIO_EMC_41_SEMC_CSX00, /* GPIO_EMC_41 is configured as SEMC_CSX00 */
|
|
||||||
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
||||||
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_01_SEMC_DATA01, /* GPIO_EMC_01 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_02_SEMC_DATA02, /* GPIO_EMC_02 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_03_SEMC_DATA03, /* GPIO_EMC_03 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_04_SEMC_DATA04, /* GPIO_EMC_04 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_05_SEMC_DATA05, /* GPIO_EMC_05 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_06_SEMC_DATA06, /* GPIO_EMC_06 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_07_SEMC_DATA07, /* GPIO_EMC_07 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_08_SEMC_DM00, /* GPIO_EMC_08 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_09_SEMC_ADDR00, /* GPIO_EMC_09 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_10_SEMC_ADDR01, /* GPIO_EMC_10 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_11_SEMC_ADDR02, /* GPIO_EMC_11 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_12_SEMC_ADDR03, /* GPIO_EMC_12 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_13_SEMC_ADDR04, /* GPIO_EMC_13 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_14_SEMC_ADDR05, /* GPIO_EMC_14 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_15_SEMC_ADDR06, /* GPIO_EMC_15 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_16_SEMC_ADDR07, /* GPIO_EMC_16 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_17_SEMC_ADDR08, /* GPIO_EMC_17 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_18_SEMC_ADDR09, /* GPIO_EMC_18 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_19_SEMC_ADDR11, /* GPIO_EMC_19 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_20_SEMC_ADDR12, /* GPIO_EMC_20 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_21_SEMC_BA0, /* GPIO_EMC_21 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_22_SEMC_BA1, /* GPIO_EMC_22 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_23_SEMC_ADDR10, /* GPIO_EMC_23 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_24_SEMC_CAS, /* GPIO_EMC_24 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_25_SEMC_RAS, /* GPIO_EMC_25 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_26_SEMC_CLK, /* GPIO_EMC_26 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_27_SEMC_CKE, /* GPIO_EMC_27 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_28_SEMC_WE, /* GPIO_EMC_28 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_29_SEMC_CS0, /* GPIO_EMC_29 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_30_SEMC_DATA08, /* GPIO_EMC_30 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_31_SEMC_DATA09, /* GPIO_EMC_31 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_32_SEMC_DATA10, /* GPIO_EMC_32 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_33_SEMC_DATA11, /* GPIO_EMC_33 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_34_SEMC_DATA12, /* GPIO_EMC_34 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_35_SEMC_DATA13, /* GPIO_EMC_35 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_36_SEMC_DATA14, /* GPIO_EMC_36 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_37_SEMC_DATA15, /* GPIO_EMC_37 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_39_SEMC_DQS, /* GPIO_EMC_39 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_40_SEMC_RDY, /* GPIO_EMC_40 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
IOMUXC_SetPinConfig(
|
|
||||||
IOMUXC_GPIO_EMC_41_SEMC_CSX00, /* GPIO_EMC_41 PAD functional properties : */
|
|
||||||
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
|
||||||
Drive Strength Field: R0/7
|
|
||||||
Speed Field: max(200MHz)
|
|
||||||
Open Drain Enable Field: Open Drain Disabled
|
|
||||||
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
||||||
Pull / Keep Select Field: Keeper
|
|
||||||
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
|
||||||
Hyst. Enable Field: Hysteresis Enabled */
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
#include "pin_mux.h"
|
#include "pin_mux.h"
|
||||||
|
#include "fsl_iomuxc.h"
|
||||||
|
#include "fsl_gpio.h"
|
||||||
|
|
||||||
#ifdef BSP_USING_DMA
|
#ifdef BSP_USING_DMA
|
||||||
#include "fsl_dmamux.h"
|
#include "fsl_dmamux.h"
|
||||||
|
@ -109,7 +111,655 @@ void imxrt_dma_init(void)
|
||||||
EDMA_Init(DMA0, &config);
|
EDMA_Init(DMA0, &config);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BSP_USING_LPUART
|
||||||
|
void imxrt_uart_pins_init(void)
|
||||||
|
{
|
||||||
|
#ifdef BSP_USING_LPUART1
|
||||||
|
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B0_12_LPUART1_TX, /* GPIO_AD_B0_12 is configured as LPUART1_TX */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B0_13_LPUART1_RX, /* GPIO_AD_B0_13 is configured as LPUART1_RX */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B0_12_LPUART1_TX, /* GPIO_AD_B0_12 PAD functional properties : */
|
||||||
|
0x10B0u); /* Slew Rate Field: Slow Slew Rate
|
||||||
|
Drive Strength Field: R0/6
|
||||||
|
Speed Field: medium(100MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Disabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B0_13_LPUART1_RX, /* GPIO_AD_B0_13 PAD functional properties : */
|
||||||
|
0x10B0u); /* Slew Rate Field: Slow Slew Rate
|
||||||
|
Drive Strength Field: R0/6
|
||||||
|
Speed Field: medium(100MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Disabled */
|
||||||
|
#endif
|
||||||
|
#ifdef BSP_USING_LPUART2
|
||||||
|
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B1_02_LPUART2_TX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B1_03_LPUART2_RX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B1_02_LPUART2_TX,
|
||||||
|
0x10B0u);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B1_03_LPUART2_RX,
|
||||||
|
0x10B0u);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#ifdef BSP_USING_LPUART3
|
||||||
|
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B1_06_LPUART3_TX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B1_07_LPUART3_RX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B1_06_LPUART3_TX,
|
||||||
|
0x10B0u);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B1_07_LPUART3_RX,
|
||||||
|
0x10B0u);
|
||||||
|
#endif
|
||||||
|
#ifdef BSP_USING_LPUART4
|
||||||
|
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_B1_00_LPUART4_TX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_B1_01_LPUART4_RX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_B1_00_LPUART4_TX,
|
||||||
|
0x10B0u);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_B1_01_LPUART4_RX,
|
||||||
|
0x10B0u);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef BSP_USING_LPUART8
|
||||||
|
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B1_10_LPUART8_TX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_AD_B1_11_LPUART8_RX,
|
||||||
|
0U);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B1_10_LPUART8_TX,
|
||||||
|
0x10B0u);
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_AD_B1_11_LPUART8_RX,
|
||||||
|
0x10B0u);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
#endif /* BSP_USING_LPUART */
|
||||||
|
|
||||||
|
#ifdef BSP_USING_SDRAM
|
||||||
|
void imxrt_semc_pins_init(void)
|
||||||
|
{
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 is configured as SEMC_DATA00 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_01_SEMC_DATA01, /* GPIO_EMC_01 is configured as SEMC_DATA01 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_02_SEMC_DATA02, /* GPIO_EMC_02 is configured as SEMC_DATA02 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_03_SEMC_DATA03, /* GPIO_EMC_03 is configured as SEMC_DATA03 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_04_SEMC_DATA04, /* GPIO_EMC_04 is configured as SEMC_DATA04 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_05_SEMC_DATA05, /* GPIO_EMC_05 is configured as SEMC_DATA05 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_06_SEMC_DATA06, /* GPIO_EMC_06 is configured as SEMC_DATA06 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_07_SEMC_DATA07, /* GPIO_EMC_07 is configured as SEMC_DATA07 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_08_SEMC_DM00, /* GPIO_EMC_08 is configured as SEMC_DM00 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_09_SEMC_ADDR00, /* GPIO_EMC_09 is configured as SEMC_ADDR00 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_10_SEMC_ADDR01, /* GPIO_EMC_10 is configured as SEMC_ADDR01 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_11_SEMC_ADDR02, /* GPIO_EMC_11 is configured as SEMC_ADDR02 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_12_SEMC_ADDR03, /* GPIO_EMC_12 is configured as SEMC_ADDR03 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_13_SEMC_ADDR04, /* GPIO_EMC_13 is configured as SEMC_ADDR04 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_14_SEMC_ADDR05, /* GPIO_EMC_14 is configured as SEMC_ADDR05 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_15_SEMC_ADDR06, /* GPIO_EMC_15 is configured as SEMC_ADDR06 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_16_SEMC_ADDR07, /* GPIO_EMC_16 is configured as SEMC_ADDR07 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_17_SEMC_ADDR08, /* GPIO_EMC_17 is configured as SEMC_ADDR08 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_18_SEMC_ADDR09, /* GPIO_EMC_18 is configured as SEMC_ADDR09 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_19_SEMC_ADDR11, /* GPIO_EMC_19 is configured as SEMC_ADDR11 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_20_SEMC_ADDR12, /* GPIO_EMC_20 is configured as SEMC_ADDR12 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_21_SEMC_BA0, /* GPIO_EMC_21 is configured as SEMC_BA0 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_22_SEMC_BA1, /* GPIO_EMC_22 is configured as SEMC_BA1 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_23_SEMC_ADDR10, /* GPIO_EMC_23 is configured as SEMC_ADDR10 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_24_SEMC_CAS, /* GPIO_EMC_24 is configured as SEMC_CAS */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_25_SEMC_RAS, /* GPIO_EMC_25 is configured as SEMC_RAS */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_26_SEMC_CLK, /* GPIO_EMC_26 is configured as SEMC_CLK */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_27_SEMC_CKE, /* GPIO_EMC_27 is configured as SEMC_CKE */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_28_SEMC_WE, /* GPIO_EMC_28 is configured as SEMC_WE */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_29_SEMC_CS0, /* GPIO_EMC_29 is configured as SEMC_CS0 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_30_SEMC_DATA08, /* GPIO_EMC_30 is configured as SEMC_DATA08 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_31_SEMC_DATA09, /* GPIO_EMC_31 is configured as SEMC_DATA09 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_32_SEMC_DATA10, /* GPIO_EMC_32 is configured as SEMC_DATA10 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_33_SEMC_DATA11, /* GPIO_EMC_33 is configured as SEMC_DATA11 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_34_SEMC_DATA12, /* GPIO_EMC_34 is configured as SEMC_DATA12 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_35_SEMC_DATA13, /* GPIO_EMC_35 is configured as SEMC_DATA13 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_36_SEMC_DATA14, /* GPIO_EMC_36 is configured as SEMC_DATA14 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_37_SEMC_DATA15, /* GPIO_EMC_37 is configured as SEMC_DATA15 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 is configured as SEMC_DM01 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_39_SEMC_DQS, /* GPIO_EMC_39 is configured as SEMC_DQS */
|
||||||
|
1U); /* Software Input On Field: Force input path of pad GPIO_EMC_39 */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_40_SEMC_RDY, /* GPIO_EMC_40 is configured as SEMC_RDY */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
IOMUXC_SetPinMux(
|
||||||
|
IOMUXC_GPIO_EMC_41_SEMC_CSX00, /* GPIO_EMC_41 is configured as SEMC_CSX00 */
|
||||||
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
||||||
|
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_01_SEMC_DATA01, /* GPIO_EMC_01 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_02_SEMC_DATA02, /* GPIO_EMC_02 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_03_SEMC_DATA03, /* GPIO_EMC_03 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_04_SEMC_DATA04, /* GPIO_EMC_04 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_05_SEMC_DATA05, /* GPIO_EMC_05 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_06_SEMC_DATA06, /* GPIO_EMC_06 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_07_SEMC_DATA07, /* GPIO_EMC_07 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_08_SEMC_DM00, /* GPIO_EMC_08 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_09_SEMC_ADDR00, /* GPIO_EMC_09 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_10_SEMC_ADDR01, /* GPIO_EMC_10 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_11_SEMC_ADDR02, /* GPIO_EMC_11 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_12_SEMC_ADDR03, /* GPIO_EMC_12 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_13_SEMC_ADDR04, /* GPIO_EMC_13 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_14_SEMC_ADDR05, /* GPIO_EMC_14 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_15_SEMC_ADDR06, /* GPIO_EMC_15 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_16_SEMC_ADDR07, /* GPIO_EMC_16 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_17_SEMC_ADDR08, /* GPIO_EMC_17 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_18_SEMC_ADDR09, /* GPIO_EMC_18 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_19_SEMC_ADDR11, /* GPIO_EMC_19 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_20_SEMC_ADDR12, /* GPIO_EMC_20 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_21_SEMC_BA0, /* GPIO_EMC_21 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_22_SEMC_BA1, /* GPIO_EMC_22 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_23_SEMC_ADDR10, /* GPIO_EMC_23 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_24_SEMC_CAS, /* GPIO_EMC_24 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_25_SEMC_RAS, /* GPIO_EMC_25 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_26_SEMC_CLK, /* GPIO_EMC_26 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_27_SEMC_CKE, /* GPIO_EMC_27 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_28_SEMC_WE, /* GPIO_EMC_28 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_29_SEMC_CS0, /* GPIO_EMC_29 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_30_SEMC_DATA08, /* GPIO_EMC_30 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_31_SEMC_DATA09, /* GPIO_EMC_31 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_32_SEMC_DATA10, /* GPIO_EMC_32 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_33_SEMC_DATA11, /* GPIO_EMC_33 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_34_SEMC_DATA12, /* GPIO_EMC_34 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_35_SEMC_DATA13, /* GPIO_EMC_35 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_36_SEMC_DATA14, /* GPIO_EMC_36 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_37_SEMC_DATA15, /* GPIO_EMC_37 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_39_SEMC_DQS, /* GPIO_EMC_39 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_40_SEMC_RDY, /* GPIO_EMC_40 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
IOMUXC_SetPinConfig(
|
||||||
|
IOMUXC_GPIO_EMC_41_SEMC_CSX00, /* GPIO_EMC_41 PAD functional properties : */
|
||||||
|
0x0110F9u); /* Slew Rate Field: Fast Slew Rate
|
||||||
|
Drive Strength Field: R0/7
|
||||||
|
Speed Field: max(200MHz)
|
||||||
|
Open Drain Enable Field: Open Drain Disabled
|
||||||
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
||||||
|
Pull / Keep Select Field: Keeper
|
||||||
|
Pull Up / Down Config. Field: 100K Ohm Pull Down
|
||||||
|
Hyst. Enable Field: Hysteresis Enabled */
|
||||||
|
}
|
||||||
|
#endif
|
||||||
void rt_hw_board_init()
|
void rt_hw_board_init()
|
||||||
{
|
{
|
||||||
BOARD_ConfigMPU();
|
BOARD_ConfigMPU();
|
||||||
|
@ -118,11 +768,19 @@ void rt_hw_board_init()
|
||||||
|
|
||||||
NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
|
NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
|
||||||
SysTick_Config(SystemCoreClock / RT_TICK_PER_SECOND);
|
SysTick_Config(SystemCoreClock / RT_TICK_PER_SECOND);
|
||||||
|
#ifdef BSP_USING_LPUART
|
||||||
|
imxrt_uart_pins_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef BSP_USING_DMA
|
#ifdef BSP_USING_DMA
|
||||||
imxrt_dma_init();
|
imxrt_dma_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef BSP_USING_SDRAM
|
||||||
|
imxrt_semc_pins_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef RT_USING_HEAP
|
#ifdef RT_USING_HEAP
|
||||||
rt_system_heap_init((void *)HEAP_BEGIN, (void *)HEAP_END);
|
rt_system_heap_init((void *)HEAP_BEGIN, (void *)HEAP_END);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue