pin_mux.h 11 KB

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