Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
esp-esp32c6-intmux.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ESP32C6_INTMUX_H_
14
#define ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ESP32C6_INTMUX_H_
15
33
35
36
#define WIFI_MAC_INTR_SOURCE 0
/* interrupt of WiFi MAC, level*/
37
#define WIFI_MAC_NMI_SOURCE 1
/* interrupt of WiFi MAC, NMI*/
38
#define WIFI_PWR_INTR_SOURCE 2
39
#define WIFI_BB_INTR_SOURCE 3
/* interrupt of WiFi BB, level*/
40
#define BT_MAC_INTR_SOURCE 4
/* will be cancelled*/
41
#define BT_BB_INTR_SOURCE 5
/* interrupt of BT BB, level*/
42
#define BT_BB_NMI_SOURCE 6
/* interrupt of BT BB, NMI*/
43
#define LP_TIMER_INTR_SOURCE 7
44
#define COEX_INTR_SOURCE 8
45
#define BLE_TIMER_INTR_SOURCE 9
46
#define BLE_SEC_INTR_SOURCE 10
47
#define I2C_MASTER_SOURCE 11
/* interrupt of I2C Master, level*/
48
#define ZB_MAC_SOURCE 12
49
#define PMU_INTR_SOURCE 13
50
#define EFUSE_INTR_SOURCE 14
/* interrupt of efuse, level, not likely to use*/
51
#define LP_RTC_TIMER_INTR_SOURCE 15
52
#define LP_UART_INTR_SOURCE 16
53
#define LP_I2C_INTR_SOURCE 17
54
#define LP_WDT_INTR_SOURCE 18
55
#define LP_PERI_TIMEOUT_INTR_SOURCE 19
56
#define LP_APM_M0_INTR_SOURCE 20
57
#define LP_APM_M1_INTR_SOURCE 21
58
#define FROM_CPU_INTR0_SOURCE 22
/* interrupt0 generated from a CPU, level*/
59
#define FROM_CPU_INTR1_SOURCE 23
/* interrupt1 generated from a CPU, level*/
60
#define FROM_CPU_INTR2_SOURCE 24
/* interrupt2 generated from a CPU, level*/
61
#define FROM_CPU_INTR3_SOURCE 25
/* interrupt3 generated from a CPU, level*/
62
#define ASSIST_DEBUG_INTR_SOURCE 26
/* interrupt of Assist debug module, LEVEL*/
63
#define TRACE_INTR_SOURCE 27
64
#define CACHE_INTR_SOURCE 28
65
#define CPU_PERI_TIMEOUT_INTR_SOURCE 29
66
#define GPIO_INTR_SOURCE 30
/* interrupt of GPIO, level*/
67
#define GPIO_NMI_SOURCE 31
/* interrupt of GPIO, NMI*/
68
#define PAU_INTR_SOURCE 32
69
#define HP_PERI_TIMEOUT_INTR_SOURCE 33
70
#define MODEM_PERI_TIMEOUT_INTR_SOURCE 34
71
#define HP_APM_M0_INTR_SOURCE 35
72
#define HP_APM_M1_INTR_SOURCE 36
73
#define HP_APM_M2_INTR_SOURCE 37
74
#define HP_APM_M3_INTR_SOURCE 38
75
#define LP_APM0_INTR_SOURCE 39
76
#define MSPI_INTR_SOURCE 40
77
#define I2S1_INTR_SOURCE 41
/* interrupt of I2S1, level*/
78
#define UHCI0_INTR_SOURCE 42
/* interrupt of UHCI0, level*/
79
#define UART0_INTR_SOURCE 43
/* interrupt of UART0, level*/
80
#define UART1_INTR_SOURCE 44
/* interrupt of UART1, level*/
81
#define LEDC_INTR_SOURCE 45
/* interrupt of LED PWM, level*/
82
#define TWAI0_INTR_SOURCE 46
/* interrupt of can0, level*/
83
#define TWAI1_INTR_SOURCE 47
/* interrupt of can1, level*/
84
#define USB_SERIAL_JTAG_INTR_SOURCE 48
/* interrupt of USB, level*/
85
#define RMT_INTR_SOURCE 49
/* interrupt of remote controller, level*/
86
#define I2C_EXT0_INTR_SOURCE 50
/* interrupt of I2C controller1, level*/
87
#define TG0_T0_LEVEL_INTR_SOURCE 51
/* interrupt of TIMER_GROUP0, TIMER0, level*/
88
#define TG0_T1_LEVEL_INTR_SOURCE 52
/* interrupt of TIMER_GROUP0, TIMER1, level*/
89
#define TG0_WDT_LEVEL_INTR_SOURCE 53
/* interrupt of TIMER_GROUP0, WATCH DOG, level*/
90
#define TG1_T0_LEVEL_INTR_SOURCE 54
/* interrupt of TIMER_GROUP1, TIMER0, level*/
91
#define TG1_T1_LEVEL_INTR_SOURCE 55
/* interrupt of TIMER_GROUP1, TIMER1, level*/
92
#define TG1_WDT_LEVEL_INTR_SOURCE 56
/* interrupt of TIMER_GROUP1, WATCHDOG, level*/
93
#define SYSTIMER_TARGET0_EDGE_INTR_SOURCE 57
/* interrupt of system timer 0, EDGE*/
94
#define SYSTIMER_TARGET1_EDGE_INTR_SOURCE 58
/* interrupt of system timer 1, EDGE*/
95
#define SYSTIMER_TARGET2_EDGE_INTR_SOURCE 59
/* interrupt of system timer 2, EDGE*/
96
#define APB_ADC_INTR_SOURCE 60
/* interrupt of APB ADC, LEVEL*/
97
#define MCPWM0_INTR_SOURCE 61
/* interrupt of MCPWM0, LEVEL*/
98
#define PCNT_INTR_SOURCE 62
99
#define PARL_IO_INTR_SOURCE 63
100
#define SLC0_INTR_SOURCE 64
101
#define SLC_INTR_SOURCE 65
102
#define DMA_IN_CH0_INTR_SOURCE 66
/* interrupt of general DMA IN channel 0, LEVEL*/
103
#define DMA_IN_CH1_INTR_SOURCE 67
/* interrupt of general DMA IN channel 1, LEVEL*/
104
#define DMA_IN_CH2_INTR_SOURCE 68
/* interrupt of general DMA IN channel 2, LEVEL*/
105
#define DMA_OUT_CH0_INTR_SOURCE 69
/* interrupt of general DMA OUT channel 0, LEVEL*/
106
#define DMA_OUT_CH1_INTR_SOURCE 70
/* interrupt of general DMA OUT channel 1, LEVEL*/
107
#define DMA_OUT_CH2_INTR_SOURCE 71
/* interrupt of general DMA OUT channel 2, LEVEL*/
108
#define GSPI2_INTR_SOURCE 72
109
#define AES_INTR_SOURCE 73
/* interrupt of AES accelerator, level*/
110
#define SHA_INTR_SOURCE 74
/* interrupt of SHA accelerator, level*/
111
#define RSA_INTR_SOURCE 75
/* interrupt of RSA accelerator, level*/
112
#define ECC_INTR_SOURCE 76
/* interrupt of ECC accelerator, level*/
113
#define MAX_INTR_SOURCE 77
114
115
/* Zero will allocate low/medium levels of priority (ESP_INTR_FLAG_LOWMED) */
116
#define IRQ_DEFAULT_PRIORITY 0
117
118
#define ESP_INTR_FLAG_SHARED (1<<8)
/* Interrupt can be shared between ISRs */
119
120
/* LP Core intmux */
121
#define LP_CORE_IO_INTR_SOURCE 0
122
#define LP_CORE_I2C_INTR_SOURCE 1
123
#define LP_CORE_UART_INTR_SOURCE 2
124
#define LP_CORE_TIMER_INTR_SOURCE 3
125
#define LP_CORE_PMU_INTR_SOURCE 5
126
128
130
131
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_ESP32C6_INTMUX_H_ */
include
zephyr
dt-bindings
interrupt-controller
esp-esp32c6-intmux.h
Generated on
for Zephyr Project API by
1.16.1