98 lines
3.9 KiB
C
98 lines
3.9 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);
|
|
|
|
#define PIO00_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
|
|
#define PIO00_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
|
|
#define PIO01_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
|
|
#define PIO01_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitDbgUARTPins(void); /* Function assigned for the Cortex-M4F */
|
|
|
|
#define PIO023_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
|
|
#define PIO023_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
|
|
#define PIO024_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
|
|
#define PIO024_FUNC_ALT1 0x01u /*!<@brief Selects pin function.: Alternative connection 1. */
|
|
#define PIO07_DIGIMODE_DIGITAL 0x01u /*!<@brief Select Analog/Digital mode.: Digital mode. */
|
|
#define PIO07_FUNC_ALT0 0x00u /*!<@brief Selects pin function.: Alternative connection 0. */
|
|
|
|
/*! @name PIO0_7 (number 41), BMM_DRDY
|
|
@{ */
|
|
#define BOARD_INITI2CSENSORPINS_BMM_DRDY_PORT 0U /*!<@brief PORT peripheral base pointer */
|
|
#define BOARD_INITI2CSENSORPINS_BMM_DRDY_PIN 7U /*!<@brief PORT pin number */
|
|
#define BOARD_INITI2CSENSORPINS_BMM_DRDY_PIN_MASK (1U << 7U) /*!<@brief PORT pin mask */
|
|
/* @} */
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitI2CSensorPins(void); /* Function assigned for the Cortex-M4F */
|
|
|
|
/*!
|
|
* @brief Select Analog/Digital mode.: Digital mode. */
|
|
#define PIO18_DIGIMODE_DIGITAL 0x01u
|
|
/*!
|
|
* @brief Selects pin function.: Alternative connection 0. */
|
|
#define PIO18_FUNC_ALT0 0x00u
|
|
/*!
|
|
* @brief Controls open-drain mode.: Open-drain. Simulated open-drain output (high drive disabled). */
|
|
#define PIO18_OD_OPEN_DRAIN 0x01u
|
|
|
|
/*! @name PIO1_8 (number 28), R
|
|
@{ */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITLEDPINS_R_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
|
|
#define BOARD_INITLEDPINS_R_GPIO_PIN_MASK (1U << 8U) /*!<@brief GPIO pin mask */
|
|
#define BOARD_INITLEDPINS_R_PORT 1U /*!<@brief PORT peripheral base pointer */
|
|
#define BOARD_INITLEDPINS_R_PIN 8U /*!<@brief PORT pin number */
|
|
#define BOARD_INITLEDPINS_R_PIN_MASK (1U << 8U) /*!<@brief PORT pin mask */
|
|
/* @} */
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitLEDPins(void); /* Function assigned for the Cortex-M4F */
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
/*!
|
|
* @}
|
|
*/
|
|
#endif /* _PIN_MUX_H_ */
|
|
|
|
/***********************************************************************************************************************
|
|
* EOF
|
|
**********************************************************************************************************************/
|