Enum esp32c2_hal::peripherals::Interrupt
#[repr(u16)]pub enum Interrupt {
Show 42 variants
WIFI_MAC = 0,
WIFI_MAC_NMI = 1,
WIFI_PWR = 2,
WIFI_BB = 3,
BT_MAC = 4,
BT_BB = 5,
BT_BB_NMI = 6,
LP_TIMER = 7,
COEX = 8,
BLE_TIMER = 9,
BLE_SEC = 10,
I2C_MST = 11,
APB_CTRL = 12,
GPIO = 13,
GPIO_NMI = 14,
SPI_INTR_1 = 15,
SPI_INTR_2 = 16,
UART0 = 17,
UART1 = 18,
LEDC = 19,
EFUSE = 20,
RTC_CORE = 21,
I2C_EXT0 = 22,
TG0_T0_LEVEL = 23,
TG0_WDT_LEVEL = 24,
CACHE_IA = 25,
SYSTIMER_TARGET0 = 26,
SYSTIMER_TARGET1 = 27,
SYSTIMER_TARGET2 = 28,
SPI_MEM_REJECT_CACHE = 29,
ICACHE_PRELOAD0 = 30,
ICACHE_SYNC0 = 31,
APB_ADC = 32,
DMA_CH0 = 33,
SHA = 34,
ECC = 35,
FROM_CPU_INTR0 = 36,
FROM_CPU_INTR1 = 37,
FROM_CPU_INTR2 = 38,
FROM_CPU_INTR3 = 39,
ASSIST_DEBUG = 40,
ETS_CORE0_PIF_PMS_SIZE = 41,
}
Expand description
Enumeration of all the interrupts.
Variants§
WIFI_MAC = 0
0 - WIFI_MAC
WIFI_MAC_NMI = 1
1 - WIFI_MAC_NMI
WIFI_PWR = 2
2 - WIFI_PWR
WIFI_BB = 3
3 - WIFI_BB
BT_MAC = 4
4 - BT_MAC
BT_BB = 5
5 - BT_BB
BT_BB_NMI = 6
6 - BT_BB_NMI
LP_TIMER = 7
7 - LP_TIMER
COEX = 8
8 - COEX
BLE_TIMER = 9
9 - BLE_TIMER
BLE_SEC = 10
10 - BLE_SEC
I2C_MST = 11
11 - I2C_MST
APB_CTRL = 12
12 - APB_CTRL
GPIO = 13
13 - GPIO
GPIO_NMI = 14
14 - GPIO_NMI
SPI_INTR_1 = 15
15 - SPI_INTR_1
SPI_INTR_2 = 16
16 - SPI_INTR_2
UART0 = 17
17 - UART0
UART1 = 18
18 - UART1
LEDC = 19
19 - LEDC
EFUSE = 20
20 - EFUSE
RTC_CORE = 21
21 - RTC_CORE
I2C_EXT0 = 22
22 - I2C_EXT0
TG0_T0_LEVEL = 23
23 - TG0_T0_LEVEL
TG0_WDT_LEVEL = 24
24 - TG0_WDT_LEVEL
CACHE_IA = 25
25 - CACHE_IA
SYSTIMER_TARGET0 = 26
26 - SYSTIMER_TARGET0
SYSTIMER_TARGET1 = 27
27 - SYSTIMER_TARGET1
SYSTIMER_TARGET2 = 28
28 - SYSTIMER_TARGET2
SPI_MEM_REJECT_CACHE = 29
29 - SPI_MEM_REJECT_CACHE
ICACHE_PRELOAD0 = 30
30 - ICACHE_PRELOAD0
ICACHE_SYNC0 = 31
31 - ICACHE_SYNC0
APB_ADC = 32
32 - APB_ADC
DMA_CH0 = 33
33 - DMA_CH0
SHA = 34
34 - SHA
ECC = 35
35 - ECC
FROM_CPU_INTR0 = 36
36 - FROM_CPU_INTR0
FROM_CPU_INTR1 = 37
37 - FROM_CPU_INTR1
FROM_CPU_INTR2 = 38
38 - FROM_CPU_INTR2
FROM_CPU_INTR3 = 39
39 - FROM_CPU_INTR3
ASSIST_DEBUG = 40
40 - Assist debug interrupt
ETS_CORE0_PIF_PMS_SIZE = 41
41 - ETS_CORE0_PIF_PMS_SIZE
Implementations§
Trait Implementations§
impl Copy for Interrupt
impl Eq for Interrupt
impl StructuralEq for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations§
impl RefUnwindSafe for Interrupt
impl Send for Interrupt
impl Sync for Interrupt
impl Unpin for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more