/***********************************************************************************************************************
 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
 **********************************************************************************************************************/

#ifndef _PIN_MUX_H_
#define _PIN_MUX_H_

/*!
 * @addtogroup pin_mux
 * @{
 */

/***********************************************************************************************************************
 * API
 **********************************************************************************************************************/

#if defined(__cplusplus)
extern "C" {
#endif

/*!
 * @brief Calls initialization functions.
 *
 */
void BOARD_InitBootPins(void);

#define SOPT5_UART0TXSRC_UART_TX 0x00u /*!<@brief UART 0 transmit data source select: UART0_TX pin */

/*! @name PORTB17 (number 40), RS485_TX
  @{ */

/* Symbols to be used with PORT driver */
#define BOARD_INITPINS_RS485_TX_PORT PORTB                /*!<@brief PORT peripheral base pointer */
#define BOARD_INITPINS_RS485_TX_PIN 17U                   /*!<@brief PORT pin number */
#define BOARD_INITPINS_RS485_TX_PIN_MASK (1U << 17U)      /*!<@brief PORT pin mask */
                                                          /* @} */

/*! @name PORTB16 (number 39), RS485_RX
  @{ */

/* Symbols to be used with PORT driver */
#define BOARD_INITPINS_RS485_RX_PORT PORTB                /*!<@brief PORT peripheral base pointer */
#define BOARD_INITPINS_RS485_RX_PIN 16U                   /*!<@brief PORT pin number */
#define BOARD_INITPINS_RS485_RX_PIN_MASK (1U << 16U)      /*!<@brief PORT pin mask */
                                                          /* @} */

/*! @name PORTB2 (number 37), RS485_RTS
  @{ */

/* Symbols to be used with PORT driver */
#define BOARD_INITPINS_RS485_RTS_PORT PORTB               /*!<@brief PORT peripheral base pointer */
#define BOARD_INITPINS_RS485_RTS_PIN 2U                   /*!<@brief PORT pin number */
#define BOARD_INITPINS_RS485_RTS_PIN_MASK (1U << 2U)      /*!<@brief PORT pin mask */
                                                          /* @} */

/*!
 * @brief Configures pin routing and optionally pin electrical features.
 *
 */
void BOARD_InitPins(void);

#if defined(__cplusplus)
}
#endif

/*!
 * @}
 */
#endif /* _PIN_MUX_H_ */

/***********************************************************************************************************************
 * EOF
 **********************************************************************************************************************/
