generated from Embedded_Projects/LPCXpresso55S69_Template
108 lines
4.0 KiB
C
108 lines
4.0 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_InitPins_Core1(void); /* Function assigned for the Cortex-M33 (Core #1) */
|
|
|
|
/*!
|
|
* @brief Select Digital mode.: Enable Digital mode. Digital input is enabled. */
|
|
#define PIO0_26_DIGIMODE_DIGITAL 0x01u
|
|
/*!
|
|
* @brief Select Digital mode.: Enable Digital mode. Digital input is enabled. */
|
|
#define PIO1_1_DIGIMODE_DIGITAL 0x01u
|
|
/*!
|
|
* @brief Selects pin function.: Alternative connection 5. */
|
|
#define PIO1_1_FUNC_ALT5 0x05u
|
|
/*!
|
|
* @brief Select Digital mode.: Enable Digital mode. Digital input is enabled. */
|
|
#define PIO1_2_DIGIMODE_DIGITAL 0x01u
|
|
/*!
|
|
* @brief Selects pin function.: Alternative connection 6. */
|
|
#define PIO1_2_FUNC_ALT6 0x06u
|
|
/*!
|
|
* @brief Select Digital mode.: Enable Digital mode. Digital input is enabled. */
|
|
#define PIO1_3_DIGIMODE_DIGITAL 0x01u
|
|
/*!
|
|
* @brief Selects pin function.: Alternative connection 6. */
|
|
#define PIO1_3_FUNC_ALT6 0x06u
|
|
/*!
|
|
* @brief Select Digital mode.: Enable Digital mode. Digital input is enabled. */
|
|
#define PIO1_5_DIGIMODE_DIGITAL 0x01u
|
|
/*!
|
|
* @brief Selects pin function.: Alternative connection 0. */
|
|
#define PIO1_5_FUNC_ALT0 0x00u
|
|
/*!
|
|
* @brief Select Digital mode.: Enable Digital mode. Digital input is enabled. */
|
|
#define PIO1_8_DIGIMODE_DIGITAL 0x01u
|
|
/*!
|
|
* @brief Selects pin function.: Alternative connection 0. */
|
|
#define PIO1_8_FUNC_ALT0 0x00u
|
|
|
|
/*! @name PIO1_5 (number 31), P17[17]/P24[1]/PIO1_5_GPIO_ARD
|
|
@{ */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITSPIFPINS_F_WP_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
|
|
#define BOARD_INITSPIFPINS_F_WP_GPIO_PIN_MASK (1U << 5U) /*!<@brief GPIO pin mask */
|
|
#define BOARD_INITSPIFPINS_F_WP_PORT 1U /*!<@brief PORT peripheral base pointer */
|
|
#define BOARD_INITSPIFPINS_F_WP_PIN 5U /*!<@brief PORT pin number */
|
|
#define BOARD_INITSPIFPINS_F_WP_PIN_MASK (1U << 5U) /*!<@brief PORT pin mask */
|
|
/* @} */
|
|
|
|
/*! @name PIO1_8 (number 24), P17[19]/PIO1_8_GPIO_ARD
|
|
@{ */
|
|
|
|
/* Symbols to be used with GPIO driver */
|
|
#define BOARD_INITSPIFPINS_F_HOLD_GPIO GPIO /*!<@brief GPIO peripheral base pointer */
|
|
#define BOARD_INITSPIFPINS_F_HOLD_GPIO_PIN_MASK (1U << 8U) /*!<@brief GPIO pin mask */
|
|
#define BOARD_INITSPIFPINS_F_HOLD_PORT 1U /*!<@brief PORT peripheral base pointer */
|
|
#define BOARD_INITSPIFPINS_F_HOLD_PIN 8U /*!<@brief PORT pin number */
|
|
#define BOARD_INITSPIFPINS_F_HOLD_PIN_MASK (1U << 8U) /*!<@brief PORT pin mask */
|
|
/* @} */
|
|
|
|
/*!
|
|
* @brief Configures pin routing and optionally pin electrical features.
|
|
*
|
|
*/
|
|
void BOARD_InitSPIFPins(void); /* Function assigned for the Cortex-M33 (Core #1) */
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
/*!
|
|
* @}
|
|
*/
|
|
#endif /* _PIN_MUX_H_ */
|
|
|
|
/***********************************************************************************************************************
|
|
* EOF
|
|
**********************************************************************************************************************/
|