/*********************************************************************************************************************** * 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. **********************************************************************************************************************/ #ifndef _PIN_MUX_H_ #define _PIN_MUX_H_ /*********************************************************************************************************************** * Definitions **********************************************************************************************************************/ /*! @brief Direction type */ typedef enum _pin_mux_direction { kPIN_MUX_DirectionInput = 0U, /* Input direction */ kPIN_MUX_DirectionOutput = 1U, /* Output direction */ kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */ } pin_mux_direction_t; /*! * @addtogroup pin_mux * @{ */ /*********************************************************************************************************************** * API **********************************************************************************************************************/ #if defined(__cplusplus) extern "C" { #endif /*! * @brief Calls initialization functions. * */ void BOARD_InitBootPins(void); /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitDebugPins(void); /* GPIO_EMC_41 (coord C7), LED_B */ /* Routed pin properties */ #define BOARD_INITLEDPINS_LED_B_PERIPHERAL GPIO3 /*!< Peripheral name */ #define BOARD_INITLEDPINS_LED_B_SIGNAL gpio_io /*!< Signal name */ #define BOARD_INITLEDPINS_LED_B_CHANNEL 27U /*!< Signal channel */ /* Symbols to be used with GPIO driver */ #define BOARD_INITLEDPINS_LED_B_GPIO GPIO3 /*!< GPIO peripheral base pointer */ #define BOARD_INITLEDPINS_LED_B_GPIO_PIN 27U /*!< GPIO pin number */ #define BOARD_INITLEDPINS_LED_B_GPIO_PIN_MASK (1U << 27U) /*!< GPIO pin mask */ #define BOARD_INITLEDPINS_LED_B_PORT GPIO3 /*!< PORT peripheral base pointer */ #define BOARD_INITLEDPINS_LED_B_PIN 27U /*!< PORT pin number */ #define BOARD_INITLEDPINS_LED_B_PIN_MASK (1U << 27U) /*!< PORT pin mask */ /* GPIO_B1_07 (coord B12), LED_G */ /* Routed pin properties */ #define BOARD_INITLEDPINS_LED_G_PERIPHERAL GPIO2 /*!< Peripheral name */ #define BOARD_INITLEDPINS_LED_G_SIGNAL gpio_io /*!< Signal name */ #define BOARD_INITLEDPINS_LED_G_CHANNEL 23U /*!< Signal channel */ /* Symbols to be used with GPIO driver */ #define BOARD_INITLEDPINS_LED_G_GPIO GPIO2 /*!< GPIO peripheral base pointer */ #define BOARD_INITLEDPINS_LED_G_GPIO_PIN 23U /*!< GPIO pin number */ #define BOARD_INITLEDPINS_LED_G_GPIO_PIN_MASK (1U << 23U) /*!< GPIO pin mask */ #define BOARD_INITLEDPINS_LED_G_PORT GPIO2 /*!< PORT peripheral base pointer */ #define BOARD_INITLEDPINS_LED_G_PIN 23U /*!< PORT pin number */ #define BOARD_INITLEDPINS_LED_G_PIN_MASK (1U << 23U) /*!< PORT pin mask */ /* GPIO_EMC_40 (coord A7), LED_R */ /* Routed pin properties */ #define BOARD_INITLEDPINS_LED_R_PERIPHERAL GPIO3 /*!< Peripheral name */ #define BOARD_INITLEDPINS_LED_R_SIGNAL gpio_io /*!< Signal name */ #define BOARD_INITLEDPINS_LED_R_CHANNEL 26U /*!< Signal channel */ /* Symbols to be used with GPIO driver */ #define BOARD_INITLEDPINS_LED_R_GPIO GPIO3 /*!< GPIO peripheral base pointer */ #define BOARD_INITLEDPINS_LED_R_GPIO_PIN 26U /*!< GPIO pin number */ #define BOARD_INITLEDPINS_LED_R_GPIO_PIN_MASK (1U << 26U) /*!< GPIO pin mask */ #define BOARD_INITLEDPINS_LED_R_PORT GPIO3 /*!< PORT peripheral base pointer */ #define BOARD_INITLEDPINS_LED_R_PIN 26U /*!< PORT pin number */ #define BOARD_INITLEDPINS_LED_R_PIN_MASK (1U << 26U) /*!< PORT pin mask */ /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitLEDPins(void); /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitSEMCPins(void); /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitSYSPins(void); /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitSDPins(void); /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitFlexSPIPins(void); /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitUSBPins(void); /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitLCDPins(void); #if defined(__cplusplus) } #endif /*! * @} */ #endif /* _PIN_MUX_H_ */ /*********************************************************************************************************************** * EOF **********************************************************************************************************************/