/*********************************************************************************************************************** * 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); /* GPIO_AD_B0_13 (coord L14), UART1_RXD */ /* Routed pin properties */ #define BOARD_INITPINS_UART1_RXD_PERIPHERAL LPUART1 /*!< Peripheral name */ #define BOARD_INITPINS_UART1_RXD_SIGNAL RX /*!< Signal name */ /* GPIO_AD_B0_12 (coord K14), UART1_TXD */ /* Routed pin properties */ #define BOARD_INITPINS_UART1_TXD_PERIPHERAL LPUART1 /*!< Peripheral name */ #define BOARD_INITPINS_UART1_TXD_SIGNAL TX /*!< Signal name */ /* GPIO_AD_B0_10 (coord G13), JTAG_TDO/J21[13]/INT1_COMBO/ENET_INT/J22[6]/U32[11] */ /* Routed pin properties */ #define BOARD_INITPINS_INT1_COMBO_PERIPHERAL GPIO1 /*!< Peripheral name */ #define BOARD_INITPINS_INT1_COMBO_SIGNAL gpio_io /*!< Signal name */ #define BOARD_INITPINS_INT1_COMBO_CHANNEL 10U /*!< Signal channel */ /* Symbols to be used with GPIO driver */ #define BOARD_INITPINS_INT1_COMBO_GPIO GPIO1 /*!< GPIO peripheral base pointer */ #define BOARD_INITPINS_INT1_COMBO_GPIO_PIN 10U /*!< GPIO pin number */ #define BOARD_INITPINS_INT1_COMBO_GPIO_PIN_MASK (1U << 10U) /*!< GPIO pin mask */ #define BOARD_INITPINS_INT1_COMBO_PORT GPIO1 /*!< PORT peripheral base pointer */ #define BOARD_INITPINS_INT1_COMBO_PIN 10U /*!< PORT pin number */ #define BOARD_INITPINS_INT1_COMBO_PIN_MASK (1U << 10U) /*!< PORT pin mask */ /* NVCC_SD0 (coord J6), NVCC_SD */ /* Routed pin properties */ #define BOARD_INITPINS_NVCC_SD_PERIPHERAL SUPPLY /*!< Peripheral name */ #define BOARD_INITPINS_NVCC_SD_SIGNAL nvcc_sd0 /*!< Signal name */ /* NVCC_SD1 (coord K5), FLASH_VCC */ /* Routed pin properties */ #define BOARD_INITPINS_FLASH_VCC_PERIPHERAL SUPPLY /*!< Peripheral name */ #define BOARD_INITPINS_FLASH_VCC_SIGNAL nvcc_sd1 /*!< Signal name */ /* USB_OTG1_DN (coord M8), OTG1_DN */ /* Routed pin properties */ #define BOARD_INITPINS_OTG1_DN_PERIPHERAL SUPPLY /*!< Peripheral name */ #define BOARD_INITPINS_OTG1_DN_SIGNAL usb_otg1_dn /*!< Signal name */ /* USB_OTG1_DP (coord L8), OTG1_DP */ /* Routed pin properties */ #define BOARD_INITPINS_OTG1_DP_PERIPHERAL SUPPLY /*!< Peripheral name */ #define BOARD_INITPINS_OTG1_DP_SIGNAL usb_otg1_dp /*!< Signal name */ /* USB_OTG2_DN (coord N7), OTG2_DN */ /* Routed pin properties */ #define BOARD_INITPINS_OTG2_DN_PERIPHERAL SUPPLY /*!< Peripheral name */ #define BOARD_INITPINS_OTG2_DN_SIGNAL usb_otg2_dn /*!< Signal name */ /* USB_OTG2_DP (coord P7), OTG2_DP */ /* Routed pin properties */ #define BOARD_INITPINS_OTG2_DP_PERIPHERAL SUPPLY /*!< Peripheral name */ #define BOARD_INITPINS_OTG2_DP_SIGNAL usb_otg2_dp /*!< Signal name */ /*! * @brief Configures pin routing and optionally pin electrical features. * */ void BOARD_InitPins(void); #if defined(__cplusplus) } #endif /*! * @} */ #endif /* _PIN_MUX_H_ */ /*********************************************************************************************************************** * EOF **********************************************************************************************************************/