pin_mux.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Copyright 2017 NXP
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: BSD-3-Clause
  6. */
  7. #ifndef _PIN_MUX_H_
  8. #define _PIN_MUX_H_
  9. /*******************************************************************************
  10. * Definitions
  11. ******************************************************************************/
  12. /*! @brief Direction type */
  13. typedef enum _pin_mux_direction
  14. {
  15. kPIN_MUX_DirectionInput = 0U, /* Input direction */
  16. kPIN_MUX_DirectionOutput = 1U, /* Output direction */
  17. kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */
  18. } pin_mux_direction_t;
  19. /*!
  20. * @addtogroup pin_mux
  21. * @{
  22. */
  23. /*******************************************************************************
  24. * API
  25. ******************************************************************************/
  26. #if defined(__cplusplus)
  27. extern "C" {
  28. #endif
  29. /*!
  30. * @brief Calls initialization functions.
  31. *
  32. */
  33. void BOARD_InitBootPins(void);
  34. /*!
  35. * @brief Configures pin routing and optionally pin electrical features.
  36. *
  37. */
  38. void BOARD_InitPins(void);
  39. #if defined(__cplusplus)
  40. }
  41. #endif
  42. /*!
  43. * @}
  44. */
  45. #endif /* _PIN_MUX_H_ */
  46. /*******************************************************************************
  47. * EOF
  48. ******************************************************************************/