#[repr(u16)]
pub enum Interrupt {
Show 42 variants WIFI_MAC, WIFI_MAC_NMI, WIFI_PWR, WIFI_BB, BT_MAC, BT_BB, BT_BB_NMI, LP_TIMER, COEX, BLE_TIMER, BLE_SEC, I2C_MST, APB_CTRL, GPIO, GPIO_NMI, SPI_INTR_1, SPI_INTR_2, UART0, UART1, LEDC, EFUSE, RTC_CORE, I2C_EXT0, TG0_T0_LEVEL, TG0_WDT_LEVEL, CACHE_IA, SYSTIMER_TARGET0, SYSTIMER_TARGET1, SYSTIMER_TARGET2, SPI_MEM_REJECT_CACHE, ICACHE_PRELOAD0, ICACHE_SYNC0, APB_ADC, DMA_CH0, SHA, ECC, FROM_CPU_INTR0, FROM_CPU_INTR1, FROM_CPU_INTR2, FROM_CPU_INTR3, ASSIST_DEBUG, ETS_CORE0_PIF_PMS_SIZE,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

WIFI_MAC

0 - WIFI_MAC

§

WIFI_MAC_NMI

1 - WIFI_MAC_NMI

§

WIFI_PWR

2 - WIFI_PWR

§

WIFI_BB

3 - WIFI_BB

§

BT_MAC

4 - BT_MAC

§

BT_BB

5 - BT_BB

§

BT_BB_NMI

6 - BT_BB_NMI

§

LP_TIMER

7 - LP_TIMER

§

COEX

8 - COEX

§

BLE_TIMER

9 - BLE_TIMER

§

BLE_SEC

10 - BLE_SEC

§

I2C_MST

11 - I2C_MST

§

APB_CTRL

12 - APB_CTRL

§

GPIO

13 - GPIO

§

GPIO_NMI

14 - GPIO_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

§

CACHE_IA

25 - CACHE_IA

§

SYSTIMER_TARGET0

26 - SYSTIMER_TARGET0

§

SYSTIMER_TARGET1

27 - SYSTIMER_TARGET1

§

SYSTIMER_TARGET2

28 - SYSTIMER_TARGET2

§

SPI_MEM_REJECT_CACHE

29 - SPI_MEM_REJECT_CACHE

§

ICACHE_PRELOAD0

30 - ICACHE_PRELOAD0

§

ICACHE_SYNC0

31 - ICACHE_SYNC0

§

APB_ADC

32 - APB_ADC

§

DMA_CH0

33 - DMA_CH0

§

SHA

34 - SHA

§

ECC

35 - ECC

§

FROM_CPU_INTR0

36 - FROM_CPU_INTR0

§

FROM_CPU_INTR1

37 - FROM_CPU_INTR1

§

FROM_CPU_INTR2

38 - FROM_CPU_INTR2

§

FROM_CPU_INTR3

39 - FROM_CPU_INTR3

§

ASSIST_DEBUG

40 - Assist debug interrupt

§

ETS_CORE0_PIF_PMS_SIZE

41 - ETS_CORE0_PIF_PMS_SIZE

Implementations§

§

impl Interrupt

pub fn try_from(value: u8) -> Result<Interrupt, TryFromInterruptError>

Attempt to convert a given value into an Interrupt

Trait Implementations§

§

impl Clone for Interrupt

§

fn clone(&self) -> Interrupt

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Interrupt

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl PartialEq<Interrupt> for Interrupt

§

fn eq(&self, other: &Interrupt) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Interrupt

§

impl Eq for Interrupt

§

impl StructuralEq for Interrupt

§

impl StructuralPartialEq for Interrupt

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.