#[repr(u16)]
pub enum Interrupt {
Show 20 variants I2C_MST, GPIO_INTR_PRO, GPIO_INTR_PRO_NMI, SPI_INTR_1, SPI_INTR_2, UART0, UART1, LEDC, EFUSE, RTC_CORE, I2C_EXT0, TG0_T0_LEVEL, TG0_WDT_LEVEL, SYSTIMER_TARGET0_EDGE, SYSTIMER_TARGET1_EDGE, SYSTIMER_TARGET2_EDGE, SPI_MEM_REJECT_CACHE, APB_ADC, DMA_CH0, SHA,
}
Expand description

Enumeration of all the interrupts.

Variants

I2C_MST

11 - I2C_MST

GPIO_INTR_PRO

13 - GPIO_INTR_PRO

GPIO_INTR_PRO_NMI

14 - GPIO_INTR_PRO_NMI

SPI_INTR_1

15 - SPI_INTR_1

SPI_INTR_2

16 - SPI_INTR_2

UART0

17 - UART0

UART1

18 - UART1

LEDC

19 - LEDC

EFUSE

20 - EFUSE

RTC_CORE

21 - RTC_CORE

I2C_EXT0

22 - I2C_EXT0

TG0_T0_LEVEL

23 - TG0_T0_LEVEL

TG0_WDT_LEVEL

24 - TG0_WDT_LEVEL

SYSTIMER_TARGET0_EDGE

26 - SYSTIMER_TARGET0_EDGE

SYSTIMER_TARGET1_EDGE

27 - SYSTIMER_TARGET1_EDGE

SYSTIMER_TARGET2_EDGE

28 - SYSTIMER_TARGET2_EDGE

SPI_MEM_REJECT_CACHE

29 - SPI_MEM_REJECT_CACHE

APB_ADC

32 - APB_ADC

DMA_CH0

33 - DMA_CH0

SHA

34 - SHA

Implementations

Attempt to convert a given value into an Interrupt

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.