mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
224 lines
5.8 KiB
C
224 lines
5.8 KiB
C
/*
|
|
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum {
|
|
PERIPH_MSPI_MODULE = 0,
|
|
PERIPH_DUALMSPI_MODULE,
|
|
PERIPH_EMAC_MODULE,
|
|
PERIPH_MIPI_DSI_MODULE,
|
|
PERIPH_MIPI_CSI_MODULE,
|
|
PERIPH_I2C0_MODULE,
|
|
PERIPH_I2C1_MODULE,
|
|
PERIPH_I2S0_MODULE,
|
|
PERIPH_I2S1_MODULE,
|
|
PERIPH_I2S2_MODULE,
|
|
|
|
PERIPH_LCD_MODULE = 10,
|
|
PERIPH_UART0_MODULE,
|
|
PERIPH_UART1_MODULE,
|
|
PERIPH_UART2_MODULE,
|
|
PERIPH_UART3_MODULE,
|
|
PERIPH_UART4_MODULE,
|
|
PERIPH_TWAI0_MODULE,
|
|
PERIPH_TWAI1_MODULE,
|
|
PERIPH_TWAI2_MODULE,
|
|
PERIPH_GPSPI_MODULE,
|
|
|
|
PERIPH_GPSPI2_MODULE = 20,
|
|
PERIPH_GPSPI3_MODULE,
|
|
PERIPH_PARLIO_MODULE,
|
|
PERIPH_I3C_MODULE,
|
|
PERIPH_CAM_MODULE,
|
|
PERIPH_MCPWM0_MODULE,
|
|
PERIPH_MCPWM1_MODULE,
|
|
PERIPH_TIMG0_MODULE,
|
|
PERIPH_TIMG1_MODULE,
|
|
PERIPH_SYSTIMER_MODULE,
|
|
|
|
PERIPH_LEDC_MODULE = 30,
|
|
PERIPH_RMT_MODULE,
|
|
PERIPH_SARADC_MODULE,
|
|
PERIPH_PVT_MODULE,
|
|
PERIPH_AES_MODULE,
|
|
PERIPH_DS_MODULE,
|
|
PERIPH_ECC_MODULE,
|
|
PERIPH_HMAC_MODULE,
|
|
PERIPH_RSA_MODULE,
|
|
PERIPH_SEC_MODULE,
|
|
|
|
PERIPH_SHA_MODULE = 40,
|
|
PERIPH_ECDSA_MODULE,
|
|
PERIPH_ISP_MODULE,
|
|
PERIPH_SDMMC_MODULE,
|
|
PERIPH_GDMA_MODULE,
|
|
PERIPH_GMAC_MODULE,
|
|
PERIPH_JPEG_MODULE,
|
|
PERIPH_DMA2D_MODULE,
|
|
PERIPH_PPA_MODULE,
|
|
PERIPH_AHB_PDMA_MODULE,
|
|
PERIPH_AXI_PDMA_MODULE,
|
|
PERIPH_UHCI_MODULE,
|
|
PERIPH_PCNT_MODULE,
|
|
|
|
PERIPH_MODULE_MAX
|
|
} periph_module_t;
|
|
|
|
typedef enum {
|
|
LP_PERIPH_I2C0_MODULE = 0,
|
|
LP_PERIPH_UART0_MODULE,
|
|
LP_PERIPH_MODULE_MAX,
|
|
} lp_periph_module_t;
|
|
|
|
typedef enum {
|
|
ETS_LP_RTC_INTR_SOURCE = 0,
|
|
ETS_LP_WDT_INTR_SOURCE,
|
|
ETS_LP_TIMER_REG0_INTR_SOURCE,
|
|
ETS_LP_TIMER_REG1_INTR_SOURCE,
|
|
ETS_MB_HP_INTR_SOURCE,
|
|
ETS_MB_LP_INTR_SOURCE,
|
|
ETS_PMU_0_INTR_SOURCE,
|
|
ETS_PMU_1_INTR_SOURCE,
|
|
ETS_LP_ANAPERI_INTR_SOURCE,
|
|
ETS_LP_ADC_INTR_SOURCE,
|
|
ETS_LP_GPIO_INTR_SOURCE,
|
|
ETS_LP_I2C_INTR_SOURCE,
|
|
ETS_LP_I2S_INTR_SOURCE,
|
|
ETS_LP_SPI_INTR_SOURCE,
|
|
ETS_LP_TOUCH_INTR_SOURCE,
|
|
ETS_LP_TSENS_INTR_SOURCE,
|
|
ETS_LP_UART_INTR_SOURCE,
|
|
ETS_LP_EFUSE_INTR_SOURCE,
|
|
ETS_LP_SW_INTR_SOURCE,
|
|
ETS_LP_SYSREG_INTR_SOURCE,
|
|
ETS_LP_HUK_INTR_SOURCE,
|
|
ETS_SYS_ICM_INTR_SOURCE,
|
|
ETS_USB_DEVICE_INTR_SOURCE,
|
|
ETS_SDIO_HOST_INTR_SOURCE,
|
|
ETS_GDMA_INTR_SOURCE,
|
|
ETS_SPI2_INTR_SOURCE,
|
|
ETS_SPI3_INTR_SOURCE,
|
|
ETS_I2S0_INTR_SOURCE,
|
|
ETS_I2S1_INTR_SOURCE,
|
|
ETS_I2S2_INTR_SOURCE,
|
|
ETS_UHCI0_INTR_SOURCE,
|
|
ETS_UART0_INTR_SOURCE,
|
|
ETS_UART1_INTR_SOURCE,
|
|
ETS_UART2_INTR_SOURCE,
|
|
ETS_UART3_INTR_SOURCE,
|
|
ETS_UART4_INTR_SOURCE,
|
|
ETS_LCD_CAM_INTR_SOURCE,
|
|
ETS_ADC_INTR_SOURCE,
|
|
ETS_PWM0_INTR_SOURCE,
|
|
ETS_PWM1_INTR_SOURCE,
|
|
ETS_CAN0_INTR_SOURCE,
|
|
ETS_CAN1_INTR_SOURCE,
|
|
ETS_CAN2_INTR_SOURCE,
|
|
ETS_RMT_INTR_SOURCE,
|
|
ETS_I2C0_INTR_SOURCE,
|
|
ETS_I2C1_INTR_SOURCE,
|
|
ETS_TIMERGROUP0_T0_INTR_SOURCE,
|
|
ETS_TIMERGROUP0_T1_INTR_SOURCE,
|
|
ETS_TIMERGROUP0_WDT_INTR_SOURCE,
|
|
ETS_TIMERGROUP1_T0_INTR_SOURCE,
|
|
ETS_TIMERGROUP1_T1_INTR_SOURCE,
|
|
ETS_TIMERGROUP1_WDT_INTR_SOURCE,
|
|
ETS_LEDC_INTR_SOURCE,
|
|
ETS_SYSTIMER_TARGET0_INTR_SOURCE,
|
|
ETS_SYSTIMER_TARGET1_INTR_SOURCE,
|
|
ETS_SYSTIMER_TARGET2_INTR_SOURCE,
|
|
ETS_AHB_PDMA_IN_CH0_INTR_SOURCE,
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_H264_DMA2D_IN_CH4_INTR_SOURCE,
|
|
ETS_H264_DMA2D_IN_CH5_INTR_SOURCE,
|
|
ETS_H264_REG_INTR_SOURCE,
|
|
ETS_ASSIST_DEBUG_INTR_SOURCE,
|
|
|
|
ETS_MAX_INTR_SOURCE, /**< number of interrupt sources */
|
|
} periph_interrput_t;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|