95 lines
3.7 KiB
C
95 lines
3.7 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_
|
|
|
|
/*!
|
|
* @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); /* Function assigned for the Cortex-M0P */
|
|
|
|
/*!
|
|
* @brief Open-drain mode.: Open-drain mode enabled. Remark: This is not a true open-drain mode. */
|
|
#define PIO0_16_OD_ENABLED 0x01u
|
|
/*!
|
|
* @brief Open-drain mode.: Open-drain mode enabled. Remark: This is not a true open-drain mode. */
|
|
#define PIO0_18_OD_ENABLED 0x01u
|
|
/*!
|
|
* @brief Open-drain mode.: Open-drain mode enabled. Remark: This is not a true open-drain mode. */
|
|
#define PIO0_22_OD_ENABLED 0x01u
|
|
|
|
/*! @name PIO0_22 (number 30), LED_R
|
|
@{ */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITLEDPINS_LED_R_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
|
|
#define BOARD_INITLEDPINS_LED_R_GPIO_PIN_MASK (1U << 22U) /*!<@brief GPIO pin mask */
|
|
#define BOARD_INITLEDPINS_LED_R_PORT 0U /*!<@brief PORT device index: 0 */
|
|
#define BOARD_INITLEDPINS_LED_R_PIN 22U /*!<@brief PORT pin number */
|
|
#define BOARD_INITLEDPINS_LED_R_PIN_MASK (1U << 22U) /*!<@brief PORT pin mask */
|
|
/* @} */
|
|
|
|
/*! @name PIO0_18 (number 31), LED_G
|
|
@{ */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITLEDPINS_LED_G_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
|
|
#define BOARD_INITLEDPINS_LED_G_GPIO_PIN_MASK (1U << 18U) /*!<@brief GPIO pin mask */
|
|
#define BOARD_INITLEDPINS_LED_G_PORT 0U /*!<@brief PORT device index: 0 */
|
|
#define BOARD_INITLEDPINS_LED_G_PIN 18U /*!<@brief PORT pin number */
|
|
#define BOARD_INITLEDPINS_LED_G_PIN_MASK (1U << 18U) /*!<@brief PORT pin mask */
|
|
/* @} */
|
|
|
|
/*! @name PIO0_16 (number 32), LED_B
|
|
@{ */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITLEDPINS_LED_B_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
|
|
#define BOARD_INITLEDPINS_LED_B_GPIO_PIN_MASK (1U << 16U) /*!<@brief GPIO pin mask */
|
|
#define BOARD_INITLEDPINS_LED_B_PORT 0U /*!<@brief PORT device index: 0 */
|
|
#define BOARD_INITLEDPINS_LED_B_PIN 16U /*!<@brief PORT pin number */
|
|
#define BOARD_INITLEDPINS_LED_B_PIN_MASK (1U << 16U) /*!<@brief PORT pin mask */
|
|
/* @} */
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitLEDPins(void); /* Function assigned for the Cortex-M0P */
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
/*!
|
|
* @}
|
|
*/
|
|
#endif /* _PIN_MUX_H_ */
|
|
|
|
/***********************************************************************************************************************
|
|
* EOF
|
|
**********************************************************************************************************************/
|