pub enum Interrupt {
Show 60 variants WIFI_MAC, WIFI_MAC_NMI, WIFI_PWR, WIFI_BB, BT_MAC, BT_BB, BT_BB_NMI, RWBT, RWBLE, RWBT_NMI, RWBLE_NMI, I2C_MASTER, APB_CTRL, UHCI0, GPIO, GPIO_NMI, SPI1, SPI2, I2S, UART0, UART1, LEDC, EFUSE, TWAI, USB_SERIAL_JTAG, RTC_CORE, RMT, I2C_EXT0, TIMER1, TIMER2, TG0_T0_LEVEL, TG0_WDT_LEVEL, TG1_T0_LEVEL, TG1_WDT_LEVEL, CACHE_IA, SYSTIMER_TARGET0, SYSTIMER_TARGET1, SYSTIMER_TARGET2, SPI_MEM_REJECT_CACHE, ICACHE_PRELOAD0, ICACHE_SYNC0, APB_ADC, DMA_CH0, DMA_CH1, DMA_CH2, RSA, AES, SHA, FROM_CPU_INTR0, FROM_CPU_INTR1, FROM_CPU_INTR2, FROM_CPU_INTR3, ASSIST_DEBUG, DMA_APBPERI_PMS, CORE0_IRAM0_PMS, CORE0_DRAM0_PMS, CORE0_PIF_PMS, CORE0_PIF_PMS_SIZE, BAK_PMS_VIOLATE, CACHE_CORE0_ACS,
}
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

§

RWBT

7 - RWBT

§

RWBLE

8 - RWBLE

§

RWBT_NMI

9 - RWBT_NMI

§

RWBLE_NMI

10 - RWBLE_NMI

§

I2C_MASTER

11 - I2C_MASTER

§

APB_CTRL

14 - APB_CTRL

§

UHCI0

15 - UHCI0

§

GPIO

16 - GPIO

§

GPIO_NMI

17 - GPIO_NMI

§

SPI1

18 - SPI1

§

SPI2

19 - SPI2

§

I2S

20 - I2S

§

UART0

21 - UART0

§

UART1

22 - UART1

§

LEDC

23 - LEDC

§

EFUSE

24 - EFUSE

§

TWAI

25 - TWAI

§

USB_SERIAL_JTAG

26 - USB_SERIAL_JTAG

§

RTC_CORE

27 - RTC_CORE

§

RMT

28 - RMT

§

I2C_EXT0

29 - I2C_EXT0

§

TIMER1

30 - TIMER1

§

TIMER2

31 - TIMER2

§

TG0_T0_LEVEL

32 - TG0_T0_LEVEL

§

TG0_WDT_LEVEL

33 - TG0_WDT_LEVEL

§

TG1_T0_LEVEL

34 - TG1_T0_LEVEL

§

TG1_WDT_LEVEL

35 - TG1_WDT_LEVEL

§

CACHE_IA

36 - CACHE_IA

§

SYSTIMER_TARGET0

37 - SYSTIMER_TARGET0

§

SYSTIMER_TARGET1

38 - SYSTIMER_TARGET1

§

SYSTIMER_TARGET2

39 - SYSTIMER_TARGET2

§

SPI_MEM_REJECT_CACHE

40 - SPI_MEM_REJECT_CACHE

§

ICACHE_PRELOAD0

41 - ICACHE_PRELOAD0

§

ICACHE_SYNC0

42 - ICACHE_SYNC0

§

APB_ADC

43 - APB_ADC

§

DMA_CH0

44 - DMA_CH0

§

DMA_CH1

45 - DMA_CH1

§

DMA_CH2

46 - DMA_CH2

§

RSA

47 - RSA

§

AES

48 - AES

§

SHA

49 - SHA

§

FROM_CPU_INTR0

50 - FROM_CPU_INTR0

§

FROM_CPU_INTR1

51 - FROM_CPU_INTR1

§

FROM_CPU_INTR2

52 - FROM_CPU_INTR2

§

FROM_CPU_INTR3

53 - FROM_CPU_INTR3

§

ASSIST_DEBUG

54 - ASSIST_DEBUG

§

DMA_APBPERI_PMS

55 - DMA_APBPERI_PMS

§

CORE0_IRAM0_PMS

56 - CORE0_IRAM0_PMS

§

CORE0_DRAM0_PMS

57 - CORE0_DRAM0_PMS

§

CORE0_PIF_PMS

58 - CORE0_PIF_PMS

§

CORE0_PIF_PMS_SIZE

59 - CORE0_PIF_PMS_SIZE

§

BAK_PMS_VIOLATE

60 - BAK_PMS_VIOLATE

§

CACHE_CORE0_ACS

61 - CACHE_CORE0_ACS

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

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

Performs the conversion.