pin_mux.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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_AD_B0_09 (coord F14), BSP_LED */
  39. #define BOARD_INITPINS_BSP_LED_GPIO GPIO1 /*!< GPIO device name: GPIO1 */
  40. #define BOARD_INITPINS_BSP_LED_PORT GPIO1 /*!< PORT device name: GPIO1 */
  41. #define BOARD_INITPINS_BSP_LED_PIN 9U /*!< GPIO1 pin index: 9 */
  42. /*!
  43. * @brief Configures pin routing and optionally pin electrical features.
  44. *
  45. */
  46. void BOARD_InitPins(void);
  47. #if defined(__cplusplus)
  48. }
  49. #endif
  50. /*!
  51. * @}
  52. */
  53. #endif /* _PIN_MUX_H_ */
  54. /***********************************************************************************************************************
  55. * EOF
  56. **********************************************************************************************************************/