MCUXpresso_MIMXRT1021xxxxx/boards/evkmimxrt1020/demo_apps/sai_peripheral/pin_mux.h
2022-08-23 23:00:33 +08:00

183 lines
9.3 KiB
C

/*
* Copyright 2019-2020 ,2021 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/***********************************************************************************************************************
* 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);
/* GPIO_AD_B0_07 (number 101), UART1_RXD/J17[4] */
/* Routed pin properties */
#define BOARD_UART1_RXD_PERIPHERAL LPUART1 /*!< Peripheral name */
#define BOARD_UART1_RXD_SIGNAL RX /*!< Signal name */
/* GPIO_AD_B0_06 (number 105), UART1_TXD/J17[6] */
/* Routed pin properties */
#define BOARD_UART1_TXD_PERIPHERAL LPUART1 /*!< Peripheral name */
#define BOARD_UART1_TXD_SIGNAL TX /*!< Signal name */
/* GPIO_AD_B1_00 (number 92), SAI1_MCLK */
/* Routed pin properties */
#define BOARD_SAI1_MCLK_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_SAI1_MCLK_SIGNAL sai_mclk /*!< Signal name */
/* GPIO_AD_B1_01 (number 91), SAI1_TX_BCLK */
/* Routed pin properties */
#define BOARD_SAI1_TX_BCLK_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_SAI1_TX_BCLK_SIGNAL sai_tx_bclk /*!< Signal name */
/* GPIO_AD_B1_02 (number 90), SAI1_TX_SYNC/J19[10] */
/* Routed pin properties */
#define BOARD_SAI1_TX_SYNC_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_SAI1_TX_SYNC_SIGNAL sai_tx_sync /*!< Signal name */
/* GPIO_AD_B1_03 (number 89), SAI1_TXD/J19[9] */
/* Routed pin properties */
#define BOARD_SAI1_TXD_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_SAI1_TXD_SIGNAL sai_tx_data0 /*!< Signal name */
/* GPIO_AD_B1_05 (number 87), SAI1_RXD */
/* Routed pin properties */
#define BOARD_SAI1_RXD_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_SAI1_RXD_SIGNAL sai_rx_data0 /*!< Signal name */
/* GPIO_AD_B1_14 (number 75), I2C1_SCL/U10[17]/J18[6] */
/* Routed pin properties */
#define BOARD_I2C1_SCL_PERIPHERAL LPI2C1 /*!< Peripheral name */
#define BOARD_I2C1_SCL_SIGNAL SCL /*!< Signal name */
/* GPIO_AD_B1_15 (number 74), I2C1_SDA/U10[18]/J18[5] */
/* Routed pin properties */
#define BOARD_I2C1_SDA_PERIPHERAL LPI2C1 /*!< Peripheral name */
#define BOARD_I2C1_SDA_SIGNAL SDA /*!< Signal name */
/* GPIO_SD_B1_04 (number 27), INT1_COMBO */
/* Routed pin properties */
#define BOARD_INT1_COMBO_PERIPHERAL GPIO3 /*!< Peripheral name */
#define BOARD_INT1_COMBO_SIGNAL gpio_io /*!< Signal name */
#define BOARD_INT1_COMBO_CHANNEL 24U /*!< Signal channel */
/* Symbols to be used with GPIO driver */
#define BOARD_INT1_COMBO_GPIO GPIO3 /*!< GPIO peripheral base pointer */
#define BOARD_INT1_COMBO_GPIO_PIN 24U /*!< GPIO pin number */
#define BOARD_INT1_COMBO_GPIO_PIN_MASK (1U << 24U) /*!< GPIO pin mask */
#define BOARD_INT1_COMBO_PORT GPIO3 /*!< PORT peripheral base pointer */
#define BOARD_INT1_COMBO_PIN 24U /*!< PORT pin number */
#define BOARD_INT1_COMBO_PIN_MASK (1U << 24U) /*!< PORT pin mask */
/* GPIO_SD_B0_06 (number 41), SD_CD_SW/J15[9] */
/* Routed pin properties */
#define BOARD_SD_CD_SW_PERIPHERAL GPIO3 /*!< Peripheral name */
#define BOARD_SD_CD_SW_SIGNAL gpio_io /*!< Signal name */
#define BOARD_SD_CD_SW_CHANNEL 19U /*!< Signal channel */
/* Symbols to be used with GPIO driver */
#define BOARD_SD_CD_SW_GPIO GPIO3 /*!< GPIO peripheral base pointer */
#define BOARD_SD_CD_SW_GPIO_PIN 19U /*!< GPIO pin number */
#define BOARD_SD_CD_SW_GPIO_PIN_MASK (1U << 19U) /*!< GPIO pin mask */
#define BOARD_SD_CD_SW_PORT GPIO3 /*!< PORT peripheral base pointer */
#define BOARD_SD_CD_SW_PIN 19U /*!< PORT pin number */
#define BOARD_SD_CD_SW_PIN_MASK (1U << 19U) /*!< PORT pin mask */
/* GPIO_AD_B1_07 (number 83), SD0_VSELECT/J19[1] */
/* Routed pin properties */
#define BOARD_SD0_VSELECT_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD0_VSELECT_SIGNAL usdhc_vselect /*!< Signal name */
/* GPIO_SD_B0_02 (number 46), SD1_CMD/J15[3] */
/* Routed pin properties */
#define BOARD_SD1_CMD_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_CMD_SIGNAL usdhc_cmd /*!< Signal name */
/* GPIO_SD_B0_03 (number 45), SD1_CLK/J15[5] */
/* Routed pin properties */
#define BOARD_SD1_CLK_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_CLK_SIGNAL usdhc_clk /*!< Signal name */
/* GPIO_SD_B0_04 (number 43), SD1_D0/J15[7] */
/* Routed pin properties */
#define BOARD_SD1_D0_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_D0_SIGNAL usdhc_data /*!< Signal name */
#define BOARD_SD1_D0_CHANNEL 0U /*!< Signal channel */
/* GPIO_SD_B0_05 (number 42), SD1_D1/J15[8] */
/* Routed pin properties */
#define BOARD_SD1_D1_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_D1_SIGNAL usdhc_data /*!< Signal name */
#define BOARD_SD1_D1_CHANNEL 1U /*!< Signal channel */
/* GPIO_SD_B0_00 (number 48), SD1_D2/J15[1] */
/* Routed pin properties */
#define BOARD_SD1_D2_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_D2_SIGNAL usdhc_data /*!< Signal name */
#define BOARD_SD1_D2_CHANNEL 2U /*!< Signal channel */
/* GPIO_SD_B0_01 (number 47), SD1_D3/J15[2] */
/* Routed pin properties */
#define BOARD_SD1_D3_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_D3_SIGNAL usdhc_data /*!< Signal name */
#define BOARD_SD1_D3_CHANNEL 3U /*!< Signal channel */
/* GPIO_AD_B0_11 (number 97), ENET_CRS_DV/U11[18]/J19[3] */
/* Routed pin properties */
#define BOARD_ENET_CRS_DV_PERIPHERAL ARM /*!< Peripheral name */
#define BOARD_ENET_CRS_DV_SIGNAL arm_trace_swo /*!< Signal name */
/*!
* @brief Configures pin routing and optionally pin electrical features.
*
*/
void BOARD_InitPins(void);
#if defined(__cplusplus)
}
#endif
/*!
* @}
*/
#endif /* _PIN_MUX_H_ */
/***********************************************************************************************************************
* EOF
**********************************************************************************************************************/