pub enum Interrupt {
Show 55 variants WIFI_MAC, WIFI_NMI, WIFI_BB, BT_MAC, BT_BB, BT_BB_NMI, RWBT, RWBLE, RWBT_NMI, RWBLE_NMI, UHCI0, UHCI1, TG0_T0_LEVEL, TG0_T1_LEVEL, TG0_WDT_LEVEL, TG0_LACT_LEVEL, TG1_T0_LEVEL, TG1_T1_LEVEL, TG1_WDT_LEVEL, TG1_LACT_LEVEL, GPIO, GPIO_NMI, SPI0, SPI1, SPI2, SPI3, I2S0, I2S1, UART0, UART1, UART2, PWM0, PWM1, LEDC, EFUSE, TWAI, RTC_CORE, RMT, PCNT, I2C_EXT0, I2C_EXT1, RSA, SPI1_DMA, SPI2_DMA, SPI3_DMA, TIMER1, TIMER2, TG0_T0_EDGE, TG0_T1_EDGE, TG0_WDT_EDGE, TG0_LACT_EDGE, TG1_T0_EDGE, TG1_T1_EDGE, TG1_WDT_EDGE, TG1_LACT_EDGE,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

WIFI_MAC

0 - WIFI_MAC

§

WIFI_NMI

1 - WIFI_NMI

§

WIFI_BB

2 - WIFI_BB

§

BT_MAC

3 - BT_MAC

§

BT_BB

4 - BT_BB

§

BT_BB_NMI

5 - BT_BB_NMI

§

RWBT

6 - RWBT

§

RWBLE

7 - RWBLE

§

RWBT_NMI

8 - RWBT_NMI

§

RWBLE_NMI

9 - RWBLE_NMI

§

UHCI0

12 - UHCI0

§

UHCI1

13 - UHCI1

§

TG0_T0_LEVEL

14 - TG0_T0_LEVEL

§

TG0_T1_LEVEL

15 - TG0_T1_LEVEL

§

TG0_WDT_LEVEL

16 - TG0_WDT_LEVEL

§

TG0_LACT_LEVEL

17 - TG0_LACT_LEVEL

§

TG1_T0_LEVEL

18 - TG1_T0_LEVEL

§

TG1_T1_LEVEL

19 - TG1_T1_LEVEL

§

TG1_WDT_LEVEL

20 - TG1_WDT_LEVEL

§

TG1_LACT_LEVEL

21 - TG1_LACT_LEVEL

§

GPIO

22 - GPIO

§

GPIO_NMI

23 - GPIO_NMI

§

SPI0

28 - SPI0

§

SPI1

29 - SPI1

§

SPI2

30 - SPI2

§

SPI3

31 - SPI3

§

I2S0

32 - I2S0

§

I2S1

33 - I2S1

§

UART0

34 - UART0

§

UART1

35 - UART1

§

UART2

36 - UART2

§

PWM0

39 - PWM0

§

PWM1

40 - PWM1

§

LEDC

43 - LEDC

§

EFUSE

44 - EFUSE

§

TWAI

45 - TWAI

§

RTC_CORE

46 - RTC_CORE

§

RMT

47 - RMT

§

PCNT

48 - PCNT

§

I2C_EXT0

49 - I2C_EXT0

§

I2C_EXT1

50 - I2C_EXT1

§

RSA

51 - RSA

§

SPI1_DMA

52 - SPI1_DMA

§

SPI2_DMA

53 - SPI2_DMA

§

SPI3_DMA

54 - SPI3_DMA

§

TIMER1

56 - TIMER1

§

TIMER2

57 - TIMER2

§

TG0_T0_EDGE

58 - TG0_T0_EDGE

§

TG0_T1_EDGE

59 - TG0_T1_EDGE

§

TG0_WDT_EDGE

60 - TG0_WDT_EDGE

§

TG0_LACT_EDGE

61 - TG0_LACT_EDGE

§

TG1_T0_EDGE

62 - TG1_T0_EDGE

§

TG1_T1_EDGE

63 - TG1_T1_EDGE

§

TG1_WDT_EDGE

64 - TG1_WDT_EDGE

§

TG1_LACT_EDGE

65 - TG1_LACT_EDGE

Implementations§

§

impl Interrupt

pub fn try_from(value: u16) -> 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 InterruptNumber for Interrupt

§

fn number(self) -> u16

Return the interrupt number associated with this variant. 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.