2022-03-11 12:13:56 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2019 NXP
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
/***********************************************************************************************************************
|
|
|
|
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
|
|
|
|
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
|
|
|
|
**********************************************************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
|
|
!!GlobalInfo
|
|
|
|
product: Pins v4.1
|
|
|
|
processor: MIMXRT1062xxxxA
|
|
|
|
package_id: MIMXRT1062DVL6A
|
|
|
|
mcu_data: ksdk2_0
|
|
|
|
processor_version: 0.0.0
|
|
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "fsl_common.h"
|
|
|
|
#include "fsl_iomuxc.h"
|
|
|
|
#include "pin_mux.h"
|
|
|
|
|
|
|
|
/* FUNCTION ************************************************************************************************************
|
|
|
|
*
|
|
|
|
* Function Name : BOARD_InitBootPins
|
|
|
|
* Description : Calls initialization functions.
|
|
|
|
*
|
|
|
|
* END ****************************************************************************************************************/
|
|
|
|
void BOARD_InitBootPins(void) {
|
|
|
|
BOARD_InitPins();
|
|
|
|
BOARD_InitI2C1Pins();
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
|
|
BOARD_InitPins:
|
|
|
|
- options: {callFromInitBoot: 'true', coreID: core0, enableClock: 'true'}
|
|
|
|
- pin_list:
|
|
|
|
- {pin_num: L14, peripheral: LPUART1, signal: RX, pin_signal: GPIO_AD_B0_13, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: K14, peripheral: LPUART1, signal: TX, pin_signal: GPIO_AD_B0_12, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D7, peripheral: LCDIF, signal: lcdif_clk, pin_signal: GPIO_B0_00, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C8, peripheral: LCDIF, signal: 'lcdif_data, 00', pin_signal: GPIO_B0_04, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B8, peripheral: LCDIF, signal: 'lcdif_data, 01', pin_signal: GPIO_B0_05, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A8, peripheral: LCDIF, signal: 'lcdif_data, 02', pin_signal: GPIO_B0_06, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A9, peripheral: LCDIF, signal: 'lcdif_data, 03', pin_signal: GPIO_B0_07, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B9, peripheral: LCDIF, signal: 'lcdif_data, 04', pin_signal: GPIO_B0_08, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C9, peripheral: LCDIF, signal: 'lcdif_data, 05', pin_signal: GPIO_B0_09, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D9, peripheral: LCDIF, signal: 'lcdif_data, 06', pin_signal: GPIO_B0_10, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A10, peripheral: LCDIF, signal: 'lcdif_data, 07', pin_signal: GPIO_B0_11, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C10, peripheral: LCDIF, signal: 'lcdif_data, 08', pin_signal: GPIO_B0_12, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D10, peripheral: LCDIF, signal: 'lcdif_data, 09', pin_signal: GPIO_B0_13, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E10, peripheral: LCDIF, signal: 'lcdif_data, 10', pin_signal: GPIO_B0_14, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E11, peripheral: LCDIF, signal: 'lcdif_data, 11', pin_signal: GPIO_B0_15, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A11, peripheral: LCDIF, signal: 'lcdif_data, 12', pin_signal: GPIO_B1_00, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B11, peripheral: LCDIF, signal: 'lcdif_data, 13', pin_signal: GPIO_B1_01, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C11, peripheral: LCDIF, signal: 'lcdif_data, 14', pin_signal: GPIO_B1_02, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D11, peripheral: LCDIF, signal: 'lcdif_data, 15', pin_signal: GPIO_B1_03, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E7, peripheral: LCDIF, signal: lcdif_enable, pin_signal: GPIO_B0_01, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E8, peripheral: LCDIF, signal: lcdif_hsync, pin_signal: GPIO_B0_02, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D8, peripheral: LCDIF, signal: lcdif_vsync, pin_signal: GPIO_B0_03, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm,
|
|
|
|
pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B14, peripheral: GPIO2, signal: 'gpio_io, 31', pin_signal: GPIO_B1_15, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: M11, peripheral: GPIO1, signal: 'gpio_io, 02', pin_signal: GPIO_AD_B0_02, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* FUNCTION ************************************************************************************************************
|
|
|
|
*
|
|
|
|
* Function Name : BOARD_InitPins
|
|
|
|
* Description : Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
* END ****************************************************************************************************************/
|
|
|
|
void BOARD_InitPins(void) {
|
|
|
|
CLOCK_EnableClock(kCLOCK_Iomuxc); /* iomuxc clock (iomuxc_clk_enable): 0x03u */
|
|
|
|
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_AD_B0_02_GPIO1_IO02, /* GPIO_AD_B0_02 is configured as GPIO1_IO02 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
2022-07-30 14:06:09 +08:00
|
|
|
IOMUXC_SetPinMux(
|
2023-04-11 17:16:22 +08:00
|
|
|
IOMUXC_GPIO_AD_B0_11_GPIO1_IO11, /* GPIO_AD_B0_02 is configured as GPIO1_IO02 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
2022-03-11 12:13:56 +08:00
|
|
|
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_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_00_LCD_CLK, /* GPIO_B0_00 is configured as LCD_CLK */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_01_LCD_ENABLE, /* GPIO_B0_01 is configured as LCD_ENABLE */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_02_LCD_HSYNC, /* GPIO_B0_02 is configured as LCD_HSYNC */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_03_LCD_VSYNC, /* GPIO_B0_03 is configured as LCD_VSYNC */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_04_LCD_DATA00, /* GPIO_B0_04 is configured as LCD_DATA00 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_05_LCD_DATA01, /* GPIO_B0_05 is configured as LCD_DATA01 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_06_LCD_DATA02, /* GPIO_B0_06 is configured as LCD_DATA02 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_07_LCD_DATA03, /* GPIO_B0_07 is configured as LCD_DATA03 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_08_LCD_DATA04, /* GPIO_B0_08 is configured as LCD_DATA04 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_09_LCD_DATA05, /* GPIO_B0_09 is configured as LCD_DATA05 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_10_LCD_DATA06, /* GPIO_B0_10 is configured as LCD_DATA06 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_11_LCD_DATA07, /* GPIO_B0_11 is configured as LCD_DATA07 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_12_LCD_DATA08, /* GPIO_B0_12 is configured as LCD_DATA08 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_13_LCD_DATA09, /* GPIO_B0_13 is configured as LCD_DATA09 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_14_LCD_DATA10, /* GPIO_B0_14 is configured as LCD_DATA10 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B0_15_LCD_DATA11, /* GPIO_B0_15 is configured as LCD_DATA11 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B1_00_LCD_DATA12, /* GPIO_B1_00 is configured as LCD_DATA12 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B1_01_LCD_DATA13, /* GPIO_B1_01 is configured as LCD_DATA13 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B1_02_LCD_DATA14, /* GPIO_B1_02 is configured as LCD_DATA14 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B1_03_LCD_DATA15, /* GPIO_B1_03 is configured as LCD_DATA15 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 is configured as GPIO2_IO31 */
|
|
|
|
0U); /* Software Input On Field: Input Path is determined by functionality */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_AD_B0_02_GPIO1_IO02, /* GPIO_AD_B0_02 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 */
|
2022-07-30 14:06:09 +08:00
|
|
|
IOMUXC_SetPinConfig(
|
2023-04-11 17:16:22 +08:00
|
|
|
IOMUXC_GPIO_AD_B0_11_GPIO1_IO11, /* GPIO_AD_B0_11 PAD functional properties : */
|
|
|
|
0x10B0u); /* Slew Rate Field: Slow Slew Rate
|
2022-07-30 14:06:09 +08:00
|
|
|
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
|
2023-04-11 17:16:22 +08:00
|
|
|
Hyst. Enable Field: Hysteresis Disabled */
|
2022-03-11 12:13:56 +08:00
|
|
|
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 */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_00_LCD_CLK, /* GPIO_B0_00 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_01_LCD_ENABLE, /* GPIO_B0_01 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_02_LCD_HSYNC, /* GPIO_B0_02 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_03_LCD_VSYNC, /* GPIO_B0_03 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_04_LCD_DATA00, /* GPIO_B0_04 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_05_LCD_DATA01, /* GPIO_B0_05 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_06_LCD_DATA02, /* GPIO_B0_06 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_07_LCD_DATA03, /* GPIO_B0_07 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_08_LCD_DATA04, /* GPIO_B0_08 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_09_LCD_DATA05, /* GPIO_B0_09 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_10_LCD_DATA06, /* GPIO_B0_10 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_11_LCD_DATA07, /* GPIO_B0_11 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_12_LCD_DATA08, /* GPIO_B0_12 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_13_LCD_DATA09, /* GPIO_B0_13 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_14_LCD_DATA10, /* GPIO_B0_14 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B0_15_LCD_DATA11, /* GPIO_B0_15 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B1_00_LCD_DATA12, /* GPIO_B1_00 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B1_01_LCD_DATA13, /* GPIO_B1_01 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B1_02_LCD_DATA14, /* GPIO_B1_02 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B1_03_LCD_DATA15, /* GPIO_B1_03 PAD functional properties : */
|
|
|
|
0x01B0B0u); /* 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: Pull
|
|
|
|
Pull Up / Down Config. Field: 100K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Enabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 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 */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
|
|
BOARD_InitSemcPins:
|
|
|
|
- options: {coreID: core0, enableClock: 'true'}
|
|
|
|
- pin_list:
|
|
|
|
- {pin_num: C2, peripheral: SEMC, signal: 'ADDR, 00', pin_signal: GPIO_EMC_09, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: G1, peripheral: SEMC, signal: 'ADDR, 01', pin_signal: GPIO_EMC_10, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: G3, peripheral: SEMC, signal: 'ADDR, 02', pin_signal: GPIO_EMC_11, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: H1, peripheral: SEMC, signal: 'ADDR, 03', pin_signal: GPIO_EMC_12, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A6, peripheral: SEMC, signal: 'ADDR, 04', pin_signal: GPIO_EMC_13, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B6, peripheral: SEMC, signal: 'ADDR, 05', pin_signal: GPIO_EMC_14, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B1, peripheral: SEMC, signal: 'ADDR, 06', pin_signal: GPIO_EMC_15, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A5, peripheral: SEMC, signal: 'ADDR, 07', pin_signal: GPIO_EMC_16, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A4, peripheral: SEMC, signal: 'ADDR, 08', pin_signal: GPIO_EMC_17, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B2, peripheral: SEMC, signal: 'ADDR, 09', pin_signal: GPIO_EMC_18, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: G2, peripheral: SEMC, signal: 'ADDR, 10', pin_signal: GPIO_EMC_23, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B4, peripheral: SEMC, signal: 'ADDR, 11', pin_signal: GPIO_EMC_19, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A3, peripheral: SEMC, signal: 'ADDR, 12', pin_signal: GPIO_EMC_20, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C1, peripheral: SEMC, signal: 'BA, 0', pin_signal: GPIO_EMC_21, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: F1, peripheral: SEMC, signal: 'BA, 1', pin_signal: GPIO_EMC_22, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D3, peripheral: SEMC, signal: semc_cas, pin_signal: GPIO_EMC_24, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: A2, peripheral: SEMC, signal: semc_cke, pin_signal: GPIO_EMC_27, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: B3, peripheral: SEMC, signal: semc_clk, pin_signal: GPIO_EMC_26, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E1, peripheral: SEMC, signal: 'CS, 0', pin_signal: GPIO_EMC_29, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E3, peripheral: SEMC, signal: 'DATA, 00', pin_signal: GPIO_EMC_00, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: F3, peripheral: SEMC, signal: 'DATA, 01', pin_signal: GPIO_EMC_01, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: F4, peripheral: SEMC, signal: 'DATA, 02', pin_signal: GPIO_EMC_02, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: G4, peripheral: SEMC, signal: 'DATA, 03', pin_signal: GPIO_EMC_03, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: F2, peripheral: SEMC, signal: 'DATA, 04', pin_signal: GPIO_EMC_04, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: G5, peripheral: SEMC, signal: 'DATA, 05', pin_signal: GPIO_EMC_05, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: H5, peripheral: SEMC, signal: 'DATA, 06', pin_signal: GPIO_EMC_06, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: H4, peripheral: SEMC, signal: 'DATA, 07', pin_signal: GPIO_EMC_07, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C6, peripheral: SEMC, signal: 'DATA, 08', pin_signal: GPIO_EMC_30, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C5, peripheral: SEMC, signal: 'DATA, 09', pin_signal: GPIO_EMC_31, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D5, peripheral: SEMC, signal: 'DATA, 10', pin_signal: GPIO_EMC_32, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C4, peripheral: SEMC, signal: 'DATA, 11', pin_signal: GPIO_EMC_33, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D4, peripheral: SEMC, signal: 'DATA, 12', pin_signal: GPIO_EMC_34, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E5, peripheral: SEMC, signal: 'DATA, 13', pin_signal: GPIO_EMC_35, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: C3, peripheral: SEMC, signal: 'DATA, 14', pin_signal: GPIO_EMC_36, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: E4, peripheral: SEMC, signal: 'DATA, 15', pin_signal: GPIO_EMC_37, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: H3, peripheral: SEMC, signal: 'DM, 0', pin_signal: GPIO_EMC_08, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D6, peripheral: SEMC, signal: 'DM, 1', pin_signal: GPIO_EMC_38, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D2, peripheral: SEMC, signal: semc_ras, pin_signal: GPIO_EMC_25, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: D1, peripheral: SEMC, signal: semc_we, pin_signal: GPIO_EMC_28, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* FUNCTION ************************************************************************************************************
|
|
|
|
*
|
|
|
|
* Function Name : BOARD_InitSemcPins
|
|
|
|
* Description : Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
* END ****************************************************************************************************************/
|
|
|
|
void BOARD_InitSemcPins(void) {
|
|
|
|
CLOCK_EnableClock(kCLOCK_Iomuxc); /* iomuxc clock (iomuxc_clk_enable): 0x03u */
|
|
|
|
|
|
|
|
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_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 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_EMC_01_SEMC_DATA01, /* GPIO_EMC_01 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_EMC_02_SEMC_DATA02, /* GPIO_EMC_02 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_EMC_03_SEMC_DATA03, /* GPIO_EMC_03 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_EMC_04_SEMC_DATA04, /* GPIO_EMC_04 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_EMC_05_SEMC_DATA05, /* GPIO_EMC_05 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_EMC_06_SEMC_DATA06, /* GPIO_EMC_06 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_EMC_07_SEMC_DATA07, /* GPIO_EMC_07 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_EMC_08_SEMC_DM00, /* GPIO_EMC_08 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_EMC_09_SEMC_ADDR00, /* GPIO_EMC_09 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_EMC_10_SEMC_ADDR01, /* GPIO_EMC_10 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_EMC_11_SEMC_ADDR02, /* GPIO_EMC_11 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_EMC_12_SEMC_ADDR03, /* GPIO_EMC_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_EMC_13_SEMC_ADDR04, /* GPIO_EMC_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 */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_EMC_14_SEMC_ADDR05, /* GPIO_EMC_14 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_EMC_15_SEMC_ADDR06, /* GPIO_EMC_15 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_EMC_16_SEMC_ADDR07, /* GPIO_EMC_16 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_EMC_17_SEMC_ADDR08, /* GPIO_EMC_17 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_EMC_18_SEMC_ADDR09, /* GPIO_EMC_18 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_EMC_19_SEMC_ADDR11, /* GPIO_EMC_19 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_EMC_20_SEMC_ADDR12, /* GPIO_EMC_20 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_EMC_21_SEMC_BA0, /* GPIO_EMC_21 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_EMC_22_SEMC_BA1, /* GPIO_EMC_22 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_EMC_23_SEMC_ADDR10, /* GPIO_EMC_23 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_EMC_24_SEMC_CAS, /* GPIO_EMC_24 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_EMC_25_SEMC_RAS, /* GPIO_EMC_25 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_EMC_26_SEMC_CLK, /* GPIO_EMC_26 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_EMC_27_SEMC_CKE, /* GPIO_EMC_27 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_EMC_28_SEMC_WE, /* GPIO_EMC_28 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_EMC_29_SEMC_CS0, /* GPIO_EMC_29 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_EMC_30_SEMC_DATA08, /* GPIO_EMC_30 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_EMC_31_SEMC_DATA09, /* GPIO_EMC_31 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_EMC_32_SEMC_DATA10, /* GPIO_EMC_32 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_EMC_33_SEMC_DATA11, /* GPIO_EMC_33 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_EMC_34_SEMC_DATA12, /* GPIO_EMC_34 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_EMC_35_SEMC_DATA13, /* GPIO_EMC_35 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_EMC_36_SEMC_DATA14, /* GPIO_EMC_36 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_EMC_37_SEMC_DATA15, /* GPIO_EMC_37 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_EMC_38_SEMC_DM01, /* GPIO_EMC_38 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 */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
|
|
BOARD_InitI2C1Pins:
|
|
|
|
- options: {callFromInitBoot: 'true', coreID: core0, enableClock: 'true'}
|
|
|
|
- pin_list:
|
|
|
|
- {pin_num: J11, peripheral: LPI2C1, signal: SCL, pin_signal: GPIO_AD_B1_00, software_input_on: Enable, hysteresis_enable: Disable, pull_up_down_config: Pull_Up_22K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Enable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
- {pin_num: K11, peripheral: LPI2C1, signal: SDA, pin_signal: GPIO_AD_B1_01, software_input_on: Enable, hysteresis_enable: Disable, pull_up_down_config: Pull_Up_22K_Ohm,
|
|
|
|
pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Enable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow}
|
|
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* FUNCTION ************************************************************************************************************
|
|
|
|
*
|
|
|
|
* Function Name : BOARD_InitI2C1Pins
|
|
|
|
* Description : Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
* END ****************************************************************************************************************/
|
|
|
|
void BOARD_InitI2C1Pins(void) {
|
|
|
|
CLOCK_EnableClock(kCLOCK_Iomuxc); /* iomuxc clock (iomuxc_clk_enable): 0x03u */
|
|
|
|
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL, /* GPIO_AD_B1_00 is configured as LPI2C1_SCL */
|
|
|
|
1U); /* Software Input On Field: Force input path of pad GPIO_AD_B1_00 */
|
|
|
|
IOMUXC_SetPinMux(
|
|
|
|
IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA, /* GPIO_AD_B1_01 is configured as LPI2C1_SDA */
|
|
|
|
1U); /* Software Input On Field: Force input path of pad GPIO_AD_B1_01 */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL, /* GPIO_AD_B1_00 PAD functional properties : */
|
|
|
|
0xD8B0u); /* Slew Rate Field: Slow Slew Rate
|
|
|
|
Drive Strength Field: R0/6
|
|
|
|
Speed Field: medium(100MHz)
|
|
|
|
Open Drain Enable Field: Open Drain Enabled
|
|
|
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
|
|
Pull / Keep Select Field: Keeper
|
|
|
|
Pull Up / Down Config. Field: 22K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Disabled */
|
|
|
|
IOMUXC_SetPinConfig(
|
|
|
|
IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA, /* GPIO_AD_B1_01 PAD functional properties : */
|
|
|
|
0xD8B0u); /* Slew Rate Field: Slow Slew Rate
|
|
|
|
Drive Strength Field: R0/6
|
|
|
|
Speed Field: medium(100MHz)
|
|
|
|
Open Drain Enable Field: Open Drain Enabled
|
|
|
|
Pull / Keep Enable Field: Pull/Keeper Enabled
|
|
|
|
Pull / Keep Select Field: Keeper
|
|
|
|
Pull Up / Down Config. Field: 22K Ohm Pull Up
|
|
|
|
Hyst. Enable Field: Hysteresis Disabled */
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************************************************************
|
|
|
|
* EOF
|
|
|
|
**********************************************************************************************************************/
|