pin_mux.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Copyright 2018-2019 NXP
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: BSD-3-Clause
  6. */
  7. /***********************************************************************************************************************
  8. * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
  9. * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
  10. **********************************************************************************************************************/
  11. #ifndef _PIN_MUX_H_
  12. #define _PIN_MUX_H_
  13. /***********************************************************************************************************************
  14. * Definitions
  15. **********************************************************************************************************************/
  16. /*! @brief Direction type */
  17. typedef enum _pin_mux_direction
  18. {
  19. kPIN_MUX_DirectionInput = 0U, /* Input direction */
  20. kPIN_MUX_DirectionOutput = 1U, /* Output direction */
  21. kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */
  22. } pin_mux_direction_t;
  23. /*!
  24. * @addtogroup pin_mux
  25. * @{
  26. */
  27. /***********************************************************************************************************************
  28. * API
  29. **********************************************************************************************************************/
  30. #if defined(__cplusplus)
  31. extern "C" {
  32. #endif
  33. /*!
  34. * @brief Calls initialization functions.
  35. *
  36. */
  37. void BOARD_InitBootPins(void);
  38. /* GPIO_AD_B0_07 (number 101), UART1_RXD/J17[4] */
  39. #define BOARD_INITPINS_UART1_RXD_PERIPHERAL LPUART1 /*!< Device name: LPUART1 */
  40. #define BOARD_INITPINS_UART1_RXD_SIGNAL RX /*!< LPUART1 signal: RX */
  41. /* GPIO_AD_B0_06 (number 105), UART1_TXD/J17[6] */
  42. #define BOARD_INITPINS_UART1_TXD_PERIPHERAL LPUART1 /*!< Device name: LPUART1 */
  43. #define BOARD_INITPINS_UART1_TXD_SIGNAL TX /*!< LPUART1 signal: TX */
  44. /*!
  45. * @brief Configures pin routing and optionally pin electrical features.
  46. *
  47. */
  48. void BOARD_InitPins(void);
  49. #if defined(__cplusplus)
  50. }
  51. #endif
  52. /*!
  53. * @}
  54. */
  55. #endif /* _PIN_MUX_H_ */
  56. /***********************************************************************************************************************
  57. * EOF
  58. **********************************************************************************************************************/