1 /*********************************************************************************************************************** 2 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file 3 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file. 4 **********************************************************************************************************************/ 5 6 #ifndef _PIN_MUX_H_ 7 #define _PIN_MUX_H_ 8 9 /*********************************************************************************************************************** 10 * Definitions 11 **********************************************************************************************************************/ 12 13 /*! @brief Direction type */ 14 typedef enum _pin_mux_direction 15 { 16 kPIN_MUX_DirectionInput = 0U, /* Input direction */ 17 kPIN_MUX_DirectionOutput = 1U, /* Output direction */ 18 kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */ 19 } pin_mux_direction_t; 20 21 /*! 22 * @addtogroup pin_mux 23 * @{ 24 */ 25 26 /*********************************************************************************************************************** 27 * API 28 **********************************************************************************************************************/ 29 30 #if defined(__cplusplus) 31 extern "C" { 32 #endif 33 34 /*! 35 * @brief Calls initialization functions. 36 * 37 */ 38 void BOARD_InitBootPins(void); 39 40 /* GPIO_AD_B0_13 (coord L14), UART1_RXD */ 41 #define BOARD_INITPINS_UART1_RXD_PERIPHERAL LPUART1 /*!< Device name: LPUART1 */ 42 #define BOARD_INITPINS_UART1_RXD_SIGNAL RX /*!< LPUART1 signal: RX */ 43 44 /* GPIO_AD_B0_12 (coord K14), UART1_TXD */ 45 #define BOARD_INITPINS_UART1_TXD_PERIPHERAL LPUART1 /*!< Device name: LPUART1 */ 46 #define BOARD_INITPINS_UART1_TXD_SIGNAL TX /*!< LPUART1 signal: TX */ 47 48 /* GPIO_SD_B1_03 (coord M4), FlexSPI_D0_B */ 49 #define BOARD_INITPINS_FlexSPI_D0_B_GPIO GPIO3 /*!< GPIO device name: GPIO3 */ 50 #define BOARD_INITPINS_FlexSPI_D0_B_PORT GPIO3 /*!< PORT device name: GPIO3 */ 51 #define BOARD_INITPINS_FlexSPI_D0_B_PIN 3U /*!< GPIO3 pin index: 3 */ 52 53 /* PMIC_ON_REQ (coord K7), PMIC_ON_REQ */ 54 #define BOARD_INITPINS_PMIC_ON_REQ_GPIO GPIO5 /*!< GPIO device name: GPIO5 */ 55 #define BOARD_INITPINS_PMIC_ON_REQ_PORT GPIO5 /*!< PORT device name: GPIO5 */ 56 #define BOARD_INITPINS_PMIC_ON_REQ_PIN 1U /*!< GPIO5 pin index: 1 */ 57 58 /* GPIO_AD_B0_05 (coord G14), CAN_STBY/BOOT_MODE[1]/Flash_RST/U12[8] */ 59 #define BOARD_INITPINS_CAN_STBY_GPIO GPIO1 /*!< GPIO device name: GPIO1 */ 60 #define BOARD_INITPINS_CAN_STBY_PORT GPIO1 /*!< PORT device name: GPIO1 */ 61 #define BOARD_INITPINS_CAN_STBY_PIN 5U /*!< GPIO1 pin index: 5 */ 62 63 /* GPIO_EMC_40 (coord A7), ENET_MDC */ 64 #define BOARD_INITPINS_ENET_MDC_GPIO GPIO3 /*!< GPIO device name: GPIO3 */ 65 #define BOARD_INITPINS_ENET_MDC_PORT GPIO3 /*!< PORT device name: GPIO3 */ 66 #define BOARD_INITPINS_ENET_MDC_PIN 26U /*!< GPIO3 pin index: 26 */ 67 68 /* GPIO_B0_00 (coord D7), LCDIF_CLK */ 69 #define BOARD_INITPINS_LCDIF_CLK_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 70 #define BOARD_INITPINS_LCDIF_CLK_SIGNAL lcdif_clk /*!< LCDIF signal: lcdif_clk */ 71 72 /* GPIO_B0_04 (coord C8), LCDIF_D0/BT_CFG[0] */ 73 #define BOARD_INITPINS_LCDIF_D0_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 74 #define BOARD_INITPINS_LCDIF_D0_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 75 #define BOARD_INITPINS_LCDIF_D0_CHANNEL 0U /*!< LCDIF lcdif_data channel: 00 */ 76 77 /* GPIO_B0_05 (coord B8), LCDIF_D1/BT_CFG[1] */ 78 #define BOARD_INITPINS_LCDIF_D1_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 79 #define BOARD_INITPINS_LCDIF_D1_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 80 #define BOARD_INITPINS_LCDIF_D1_CHANNEL 1U /*!< LCDIF lcdif_data channel: 01 */ 81 82 /* GPIO_B0_06 (coord A8), LCDIF_D2/BT_CFG[2] */ 83 #define BOARD_INITPINS_LCDIF_D2_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 84 #define BOARD_INITPINS_LCDIF_D2_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 85 #define BOARD_INITPINS_LCDIF_D2_CHANNEL 2U /*!< LCDIF lcdif_data channel: 02 */ 86 87 /* GPIO_B0_08 (coord B9), LCDIF_D4/BT_CFG[4] */ 88 #define BOARD_INITPINS_LCDIF_D4_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 89 #define BOARD_INITPINS_LCDIF_D4_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 90 #define BOARD_INITPINS_LCDIF_D4_CHANNEL 4U /*!< LCDIF lcdif_data channel: 04 */ 91 92 /* GPIO_B0_07 (coord A9), LCDIF_D3/BT_CFG[3] */ 93 #define BOARD_INITPINS_LCDIF_D3_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 94 #define BOARD_INITPINS_LCDIF_D3_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 95 #define BOARD_INITPINS_LCDIF_D3_CHANNEL 3U /*!< LCDIF lcdif_data channel: 03 */ 96 97 /* GPIO_B0_09 (coord C9), LCDIF_D5/BT_CFG[5] */ 98 #define BOARD_INITPINS_LCDIF_D5_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 99 #define BOARD_INITPINS_LCDIF_D5_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 100 #define BOARD_INITPINS_LCDIF_D5_CHANNEL 5U /*!< LCDIF lcdif_data channel: 05 */ 101 102 /* GPIO_B0_10 (coord D9), LCDIF_D6/BT_CFG[6] */ 103 #define BOARD_INITPINS_LCDIF_D6_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 104 #define BOARD_INITPINS_LCDIF_D6_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 105 #define BOARD_INITPINS_LCDIF_D6_CHANNEL 6U /*!< LCDIF lcdif_data channel: 06 */ 106 107 /* GPIO_B0_11 (coord A10), LCDIF_D7/BT_CFG[7] */ 108 #define BOARD_INITPINS_LCDIF_D7_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 109 #define BOARD_INITPINS_LCDIF_D7_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 110 #define BOARD_INITPINS_LCDIF_D7_CHANNEL 7U /*!< LCDIF lcdif_data channel: 07 */ 111 112 /* GPIO_B0_12 (coord C10), LCDIF_D8/BT_CFG[8] */ 113 #define BOARD_INITPINS_LCDIF_D8_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 114 #define BOARD_INITPINS_LCDIF_D8_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 115 #define BOARD_INITPINS_LCDIF_D8_CHANNEL 8U /*!< LCDIF lcdif_data channel: 08 */ 116 117 /* GPIO_B0_13 (coord D10), LCDIF_D9/BT_CFG[9] */ 118 #define BOARD_INITPINS_LCDIF_D9_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 119 #define BOARD_INITPINS_LCDIF_D9_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 120 #define BOARD_INITPINS_LCDIF_D9_CHANNEL 9U /*!< LCDIF lcdif_data channel: 09 */ 121 122 /* GPIO_B0_14 (coord E10), LCDIF_D10/BT_CFG[10] */ 123 #define BOARD_INITPINS_LCDIF_D10_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 124 #define BOARD_INITPINS_LCDIF_D10_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 125 #define BOARD_INITPINS_LCDIF_D10_CHANNEL 10U /*!< LCDIF lcdif_data channel: 10 */ 126 127 /* GPIO_B0_15 (coord E11), LCDIF_D11/BT_CFG[11] */ 128 #define BOARD_INITPINS_LCDIF_D11_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 129 #define BOARD_INITPINS_LCDIF_D11_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 130 #define BOARD_INITPINS_LCDIF_D11_CHANNEL 11U /*!< LCDIF lcdif_data channel: 11 */ 131 132 /* GPIO_B1_00 (coord A11), LCDIF_D12 */ 133 #define BOARD_INITPINS_LCDIF_D12_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 134 #define BOARD_INITPINS_LCDIF_D12_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 135 #define BOARD_INITPINS_LCDIF_D12_CHANNEL 12U /*!< LCDIF lcdif_data channel: 12 */ 136 137 /* GPIO_B1_01 (coord B11), LCDIF_D13 */ 138 #define BOARD_INITPINS_LCDIF_D13_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 139 #define BOARD_INITPINS_LCDIF_D13_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 140 #define BOARD_INITPINS_LCDIF_D13_CHANNEL 13U /*!< LCDIF lcdif_data channel: 13 */ 141 142 /* GPIO_B1_02 (coord C11), LCDIF_D14 */ 143 #define BOARD_INITPINS_LCDIF_D14_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 144 #define BOARD_INITPINS_LCDIF_D14_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 145 #define BOARD_INITPINS_LCDIF_D14_CHANNEL 14U /*!< LCDIF lcdif_data channel: 14 */ 146 147 /* GPIO_B1_03 (coord D11), LCDIF_D15 */ 148 #define BOARD_INITPINS_LCDIF_D15_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 149 #define BOARD_INITPINS_LCDIF_D15_SIGNAL lcdif_data /*!< LCDIF signal: lcdif_data */ 150 #define BOARD_INITPINS_LCDIF_D15_CHANNEL 15U /*!< LCDIF lcdif_data channel: 15 */ 151 152 /* GPIO_B0_01 (coord E7), LCDIF_ENABLE */ 153 #define BOARD_INITPINS_LCDIF_ENABLE_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 154 #define BOARD_INITPINS_LCDIF_ENABLE_SIGNAL lcdif_enable /*!< LCDIF signal: lcdif_enable */ 155 156 /* GPIO_B0_02 (coord E8), LCDIF_HSYNC */ 157 #define BOARD_INITPINS_LCDIF_HSYNC_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 158 #define BOARD_INITPINS_LCDIF_HSYNC_SIGNAL lcdif_hsync /*!< LCDIF signal: lcdif_hsync */ 159 160 /* GPIO_B0_03 (coord D8), LCDIF_VSYNC */ 161 #define BOARD_INITPINS_LCDIF_VSYNC_PERIPHERAL LCDIF /*!< Device name: LCDIF */ 162 #define BOARD_INITPINS_LCDIF_VSYNC_SIGNAL lcdif_vsync /*!< LCDIF signal: lcdif_vsync */ 163 164 165 /*! 166 * @brief Configures pin routing and optionally pin electrical features. 167 * 168 */ 169 void BOARD_InitPins(void); 170 171 #if defined(__cplusplus) 172 } 173 #endif 174 175 /*! 176 * @} 177 */ 178 #endif /* _PIN_MUX_H_ */ 179 180 /*********************************************************************************************************************** 181 * EOF 182 **********************************************************************************************************************/ 183