MCUXpresso_MIMXRT1052xxxxB/boards/evkbimxrt1050/demo_apps/sai_peripheral/pin_mux.h
2022-04-08 22:46:35 +08:00

183 lines
9.4 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_13 (coord L14), UART1_RXD */
/* Routed pin properties */
#define BOARD_UART1_RXD_PERIPHERAL LPUART1 /*!< Peripheral name */
#define BOARD_UART1_RXD_SIGNAL RX /*!< Signal name */
/* GPIO_AD_B0_12 (coord K14), UART1_TXD */
/* Routed pin properties */
#define BOARD_UART1_TXD_PERIPHERAL LPUART1 /*!< Peripheral name */
#define BOARD_UART1_TXD_SIGNAL TX /*!< Signal name */
/* GPIO_AD_B1_00 (coord J11), I2C1_SCL/CSI_I2C_SCL/J35[20]/J23[6]/U13[17]/U32[4] */
/* Routed pin properties */
#define BOARD_I2C1_SCL_PERIPHERAL LPI2C1 /*!< Peripheral name */
#define BOARD_I2C1_SCL_SIGNAL SCL /*!< Signal name */
/* GPIO_AD_B1_01 (coord K11), I2C1_SDA/CSI_I2C_SDA/J35[22]/J23[5]/U13[18]/U32[6] */
/* Routed pin properties */
#define BOARD_I2C1_SDA_PERIPHERAL LPI2C1 /*!< Peripheral name */
#define BOARD_I2C1_SDA_SIGNAL SDA /*!< Signal name */
/* GPIO_AD_B1_09 (coord M13), SAI1_MCLK/CSI_D8/J35[11] */
/* Routed pin properties */
#define BOARD_CSI_D8_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_CSI_D8_SIGNAL sai_mclk /*!< Signal name */
/* GPIO_AD_B1_14 (coord G12), SAI1_TX_BCLK/CSI_D3/J35[4]/U13[12] */
/* Routed pin properties */
#define BOARD_CSI_D3_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_CSI_D3_SIGNAL sai_tx_bclk /*!< Signal name */
/* GPIO_AD_B1_13 (coord H11), SAI1_TXD/CSI_D4/J35[3]/U13[14] */
/* Routed pin properties */
#define BOARD_CSI_D4_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_CSI_D4_SIGNAL sai_tx_data0 /*!< Signal name */
/* GPIO_AD_B1_15 (coord J14), SAI1_TX_SYNC/CSI_D2/J35[6]/U13[13] */
/* Routed pin properties */
#define BOARD_CSI_D2_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_CSI_D2_SIGNAL sai_tx_sync /*!< Signal name */
/* GPIO_AD_B1_12 (coord H12), SAI1_RXD/CSI_D5/J35[5]/U13[16] */
/* Routed pin properties */
#define BOARD_CSI_D5_PERIPHERAL SAI1 /*!< Peripheral name */
#define BOARD_CSI_D5_SIGNAL sai_rx_data0 /*!< Signal name */
/* GPIO_SD_B0_00 (coord J4), SD1_CMD/J24[6] */
/* Routed pin properties */
#define BOARD_SD1_CMD_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_CMD_SIGNAL usdhc_cmd /*!< Signal name */
/* GPIO_SD_B0_02 (coord J1), SD1_D0/J24[4]/SPI_MOSI/PWM */
/* 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_03 (coord K1), SD1_D1/J24[5]/SPI_MISO */
/* 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_04 (coord H2), SD1_D2 */
/* 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_05 (coord J2), SD1_D3 */
/* 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_B1_14 (coord C14), SD0_VSELECT */
/* Routed pin properties */
#define BOARD_SD0_VSELECT_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD0_VSELECT_SIGNAL usdhc_vselect /*!< Signal name */
/* GPIO_SD_B0_01 (coord J3), SD1_CLK/J24[3] */
/* Routed pin properties */
#define BOARD_SD1_CLK_PERIPHERAL USDHC1 /*!< Peripheral name */
#define BOARD_SD1_CLK_SIGNAL usdhc_clk /*!< Signal name */
/* GPIO_AD_B0_05 (coord G14), CAN_STBY/BOOT_MODE[1]/Flash_RST/U12[8] */
/* Routed pin properties */
#define BOARD_CAN_STBY_PERIPHERAL GPIO1 /*!< Peripheral name */
#define BOARD_CAN_STBY_SIGNAL gpio_io /*!< Signal name */
#define BOARD_CAN_STBY_CHANNEL 5U /*!< Signal channel */
/* Symbols to be used with GPIO driver */
#define BOARD_CAN_STBY_GPIO GPIO1 /*!< GPIO peripheral base pointer */
#define BOARD_CAN_STBY_GPIO_PIN 5U /*!< GPIO pin number */
#define BOARD_CAN_STBY_GPIO_PIN_MASK (1U << 5U) /*!< GPIO pin mask */
#define BOARD_CAN_STBY_PORT GPIO1 /*!< PORT peripheral base pointer */
#define BOARD_CAN_STBY_PIN 5U /*!< PORT pin number */
#define BOARD_CAN_STBY_PIN_MASK (1U << 5U) /*!< PORT pin mask */
/* GPIO_B1_12 (coord D13), SD_CD_SW */
/* Routed pin properties */
#define BOARD_SD_CD_SW_PERIPHERAL GPIO2 /*!< Peripheral name */
#define BOARD_SD_CD_SW_SIGNAL gpio_io /*!< Signal name */
#define BOARD_SD_CD_SW_CHANNEL 28U /*!< Signal channel */
/* Symbols to be used with GPIO driver */
#define BOARD_SD_CD_SW_GPIO GPIO2 /*!< GPIO peripheral base pointer */
#define BOARD_SD_CD_SW_GPIO_PIN 28U /*!< GPIO pin number */
#define BOARD_SD_CD_SW_GPIO_PIN_MASK (1U << 28U) /*!< GPIO pin mask */
#define BOARD_SD_CD_SW_PORT GPIO2 /*!< PORT peripheral base pointer */
#define BOARD_SD_CD_SW_PIN 28U /*!< PORT pin number */
#define BOARD_SD_CD_SW_PIN_MASK (1U << 28U) /*!< PORT pin mask */
/* GPIO_B0_13 (coord D10), LCDIF_D9/BT_CFG[9] */
/* Routed pin properties */
#define BOARD_LCDIF_D9_PERIPHERAL ARM /*!< Peripheral name */
#define BOARD_LCDIF_D9_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
**********************************************************************************************************************/