generated from Embedded_Projects/Fire_RT1021_EVK_Template
108 lines
4.3 KiB
C
108 lines
4.3 KiB
C
/***********************************************************************************************************************
|
|
* 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);
|
|
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitDbgUARTPins(void);
|
|
|
|
/* GPIO_AD_B1_05 (number 87), DC */
|
|
/* Routed pin properties */
|
|
#define BOARD_INITLCDSPIPINS_DC_PERIPHERAL GPIO1 /*!< Peripheral name */
|
|
#define BOARD_INITLCDSPIPINS_DC_SIGNAL gpio_io /*!< Signal name */
|
|
#define BOARD_INITLCDSPIPINS_DC_CHANNEL 21U /*!< Signal channel */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITLCDSPIPINS_DC_GPIO GPIO1 /*!< GPIO peripheral base pointer */
|
|
#define BOARD_INITLCDSPIPINS_DC_GPIO_PIN 21U /*!< GPIO pin number */
|
|
#define BOARD_INITLCDSPIPINS_DC_GPIO_PIN_MASK (1U << 21U) /*!< GPIO pin mask */
|
|
#define BOARD_INITLCDSPIPINS_DC_PORT GPIO1 /*!< PORT peripheral base pointer */
|
|
#define BOARD_INITLCDSPIPINS_DC_PIN 21U /*!< PORT pin number */
|
|
#define BOARD_INITLCDSPIPINS_DC_PIN_MASK (1U << 21U) /*!< PORT pin mask */
|
|
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitLCDSPIPins(void);
|
|
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitLCDTPPins(void);
|
|
|
|
/* GPIO_AD_B1_13 (number 76), LEDA */
|
|
/* Routed pin properties */
|
|
#define BOARD_INITLEDPINS_LEDA_PERIPHERAL GPIO1 /*!< Peripheral name */
|
|
#define BOARD_INITLEDPINS_LEDA_SIGNAL gpio_io /*!< Signal name */
|
|
#define BOARD_INITLEDPINS_LEDA_CHANNEL 29U /*!< Signal channel */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITLEDPINS_LEDA_GPIO GPIO1 /*!< GPIO peripheral base pointer */
|
|
#define BOARD_INITLEDPINS_LEDA_GPIO_PIN 29U /*!< GPIO pin number */
|
|
#define BOARD_INITLEDPINS_LEDA_GPIO_PIN_MASK (1U << 29U) /*!< GPIO pin mask */
|
|
#define BOARD_INITLEDPINS_LEDA_PORT GPIO1 /*!< PORT peripheral base pointer */
|
|
#define BOARD_INITLEDPINS_LEDA_PIN 29U /*!< PORT pin number */
|
|
#define BOARD_INITLEDPINS_LEDA_PIN_MASK (1U << 29U) /*!< PORT pin mask */
|
|
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitLEDPins(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
/*!
|
|
* @}
|
|
*/
|
|
#endif /* _PIN_MUX_H_ */
|
|
|
|
/***********************************************************************************************************************
|
|
* EOF
|
|
**********************************************************************************************************************/
|