2022-06-01 16:03:38 +00:00
|
|
|
/***********************************************************************************************************************
|
|
|
|
* 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_
|
|
|
|
|
|
|
|
/***********************************************************************************************************************
|
|
|
|
* Definitions
|
|
|
|
**********************************************************************************************************************/
|
|
|
|
|
|
|
|
/*! @brief Direction type */
|
|
|
|
typedef enum _pin_mux_direction
|
|
|
|
{
|
|
|
|
kPIN_MUX_DirectionInput = 0U, /* Input direction */
|
|
|
|
kPIN_MUX_DirectionOutput = 1U, /* Output direction */
|
|
|
|
kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */
|
|
|
|
} pin_mux_direction_t;
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @addtogroup pin_mux
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/***********************************************************************************************************************
|
|
|
|
* API
|
|
|
|
**********************************************************************************************************************/
|
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Calls initialization functions.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_InitBootPins(void);
|
|
|
|
|
2022-08-26 15:34:28 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
2022-08-27 08:26:29 +00:00
|
|
|
void BOARD_InitDebugPins(void);
|
2022-08-26 15:34:28 +00:00
|
|
|
|
2022-06-03 02:05:02 +00:00
|
|
|
/* GPIO_EMC_41 (coord C7), LED_B */
|
|
|
|
/* Routed pin properties */
|
2022-08-26 15:34:28 +00:00
|
|
|
#define BOARD_INITLEDPINS_LED_B_PERIPHERAL GPIO3 /*!< Peripheral name */
|
|
|
|
#define BOARD_INITLEDPINS_LED_B_SIGNAL gpio_io /*!< Signal name */
|
|
|
|
#define BOARD_INITLEDPINS_LED_B_CHANNEL 27U /*!< Signal channel */
|
2022-06-03 02:05:02 +00:00
|
|
|
|
|
|
|
/* Symbols to be used with GPIO driver */
|
2022-08-26 15:34:28 +00:00
|
|
|
#define BOARD_INITLEDPINS_LED_B_GPIO GPIO3 /*!< GPIO peripheral base pointer */
|
|
|
|
#define BOARD_INITLEDPINS_LED_B_GPIO_PIN 27U /*!< GPIO pin number */
|
|
|
|
#define BOARD_INITLEDPINS_LED_B_GPIO_PIN_MASK (1U << 27U) /*!< GPIO pin mask */
|
|
|
|
#define BOARD_INITLEDPINS_LED_B_PORT GPIO3 /*!< PORT peripheral base pointer */
|
|
|
|
#define BOARD_INITLEDPINS_LED_B_PIN 27U /*!< PORT pin number */
|
|
|
|
#define BOARD_INITLEDPINS_LED_B_PIN_MASK (1U << 27U) /*!< PORT pin mask */
|
2022-06-03 02:05:02 +00:00
|
|
|
|
|
|
|
/* GPIO_B1_07 (coord B12), LED_G */
|
|
|
|
/* Routed pin properties */
|
2022-08-26 15:34:28 +00:00
|
|
|
#define BOARD_INITLEDPINS_LED_G_PERIPHERAL GPIO2 /*!< Peripheral name */
|
|
|
|
#define BOARD_INITLEDPINS_LED_G_SIGNAL gpio_io /*!< Signal name */
|
|
|
|
#define BOARD_INITLEDPINS_LED_G_CHANNEL 23U /*!< Signal channel */
|
2022-06-03 02:05:02 +00:00
|
|
|
|
|
|
|
/* Symbols to be used with GPIO driver */
|
2022-08-26 15:34:28 +00:00
|
|
|
#define BOARD_INITLEDPINS_LED_G_GPIO GPIO2 /*!< GPIO peripheral base pointer */
|
|
|
|
#define BOARD_INITLEDPINS_LED_G_GPIO_PIN 23U /*!< GPIO pin number */
|
|
|
|
#define BOARD_INITLEDPINS_LED_G_GPIO_PIN_MASK (1U << 23U) /*!< GPIO pin mask */
|
|
|
|
#define BOARD_INITLEDPINS_LED_G_PORT GPIO2 /*!< PORT peripheral base pointer */
|
|
|
|
#define BOARD_INITLEDPINS_LED_G_PIN 23U /*!< PORT pin number */
|
|
|
|
#define BOARD_INITLEDPINS_LED_G_PIN_MASK (1U << 23U) /*!< PORT pin mask */
|
2022-06-03 02:05:02 +00:00
|
|
|
|
|
|
|
/* GPIO_EMC_40 (coord A7), LED_R */
|
|
|
|
/* Routed pin properties */
|
2022-08-26 15:34:28 +00:00
|
|
|
#define BOARD_INITLEDPINS_LED_R_PERIPHERAL GPIO3 /*!< Peripheral name */
|
|
|
|
#define BOARD_INITLEDPINS_LED_R_SIGNAL gpio_io /*!< Signal name */
|
|
|
|
#define BOARD_INITLEDPINS_LED_R_CHANNEL 26U /*!< Signal channel */
|
2022-06-03 02:05:02 +00:00
|
|
|
|
|
|
|
/* Symbols to be used with GPIO driver */
|
2022-08-26 15:34:28 +00:00
|
|
|
#define BOARD_INITLEDPINS_LED_R_GPIO GPIO3 /*!< GPIO peripheral base pointer */
|
|
|
|
#define BOARD_INITLEDPINS_LED_R_GPIO_PIN 26U /*!< GPIO pin number */
|
|
|
|
#define BOARD_INITLEDPINS_LED_R_GPIO_PIN_MASK (1U << 26U) /*!< GPIO pin mask */
|
|
|
|
#define BOARD_INITLEDPINS_LED_R_PORT GPIO3 /*!< PORT peripheral base pointer */
|
|
|
|
#define BOARD_INITLEDPINS_LED_R_PIN 26U /*!< PORT pin number */
|
|
|
|
#define BOARD_INITLEDPINS_LED_R_PIN_MASK (1U << 26U) /*!< PORT pin mask */
|
2022-06-03 02:05:02 +00:00
|
|
|
|
2022-06-01 16:03:38 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
2022-08-26 15:34:28 +00:00
|
|
|
void BOARD_InitLEDPins(void);
|
2022-06-01 16:03:38 +00:00
|
|
|
|
2022-08-27 08:26:29 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_InitSEMCPins(void);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_InitSYSPins(void);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_InitSDPins(void);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_InitFlexSPIPins(void);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_InitUSBPins(void);
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void BOARD_InitLCDPins(void);
|
|
|
|
|
2022-06-01 16:03:38 +00:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
#endif /* _PIN_MUX_H_ */
|
|
|
|
|
|
|
|
/***********************************************************************************************************************
|
|
|
|
* EOF
|
|
|
|
**********************************************************************************************************************/
|