#[repr(u16)]
pub enum Interrupt {
Show 65 variants PMU, EFUSE, LP_RTC_TIMER, LP_BLE_TIMER, LP_WDT, LP_PERI_TIMEOUT, LP_APM_M0, FROM_CPU_INTR0, FROM_CPU_INTR1, FROM_CPU_INTR2, FROM_CPU_INTR3, ASSIST_DEBUG, TRACE, CACHE, CPU_PERI_TIMEOUT, BT_MAC, BT_BB, BT_BB_NMI, COEX, BLE_TIMER, BLE_SEC, ZB_MAC, GPIO, GPIO_NMI, PAU, HP_PERI_TIMEOUT, HP_APM_M0, HP_APM_M1, HP_APM_M2, HP_APM_M3, MSPI, I2S1, UHCI0, UART0, UART1, LEDC, TWAI0, USB, RMT, I2C_EXT0, I2C_EXT1, TG0_T0_LEVEL, TG0_WDT_LEVEL, TG1_T0_LEVEL, TG1_WDT_LEVEL, SYSTIMER_TARGET0, SYSTIMER_TARGET1, SYSTIMER_TARGET2, APB_ADC, MCPWM0, PCNT, PARL_IO_TX, PARL_IO_RX, DMA_IN_CH0, DMA_IN_CH1, DMA_IN_CH2, DMA_OUT_CH0, DMA_OUT_CH1, DMA_OUT_CH2, GPSPI2, AES, SHA, RSA, ECC, ECDSA,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

PMU

0 - PMU

§

EFUSE

1 - EFUSE

§

LP_RTC_TIMER

2 - LP_RTC_TIMER

§

LP_BLE_TIMER

3 - LP_BLE_TIMER

§

LP_WDT

4 - LP_WDT

§

LP_PERI_TIMEOUT

5 - LP_PERI_TIMEOUT

§

LP_APM_M0

6 - LP_APM_M0

§

FROM_CPU_INTR0

7 - FROM_CPU_INTR0

§

FROM_CPU_INTR1

8 - FROM_CPU_INTR1

§

FROM_CPU_INTR2

9 - FROM_CPU_INTR2

§

FROM_CPU_INTR3

10 - FROM_CPU_INTR3

§

ASSIST_DEBUG

11 - ASSIST_DEBUG

§

TRACE

12 - TRACE

§

CACHE

13 - CACHE

§

CPU_PERI_TIMEOUT

14 - CPU_PERI_TIMEOUT

§

BT_MAC

15 - BT_MAC

§

BT_BB

16 - BT_BB

§

BT_BB_NMI

17 - BT_BB_NMI

§

COEX

18 - COEX

§

BLE_TIMER

19 - BLE_TIMER

§

BLE_SEC

20 - BLE_SEC

§

ZB_MAC

21 - ZB_MAC

§

GPIO

22 - GPIO

§

GPIO_NMI

23 - GPIO_NMI

§

PAU

24 - PAU

§

HP_PERI_TIMEOUT

25 - HP_PERI_TIMEOUT

§

HP_APM_M0

26 - HP_APM_M0

§

HP_APM_M1

27 - HP_APM_M1

§

HP_APM_M2

28 - HP_APM_M2

§

HP_APM_M3

29 - HP_APM_M3

§

MSPI

30 - MSPI

§

I2S1

31 - I2S1

§

UHCI0

32 - UHCI0

§

UART0

33 - UART0

§

UART1

34 - UART1

§

LEDC

35 - LEDC

§

TWAI0

36 - TWAI0

§

USB

37 - USB

§

RMT

38 - RMT

§

I2C_EXT0

39 - I2C_EXT0

§

I2C_EXT1

40 - I2C_EXT1

§

TG0_T0_LEVEL

41 - TG0_T0_LEVEL

§

TG0_WDT_LEVEL

42 - TG0_WDT_LEVEL

§

TG1_T0_LEVEL

43 - TG1_T0_LEVEL

§

TG1_WDT_LEVEL

44 - TG1_WDT_LEVEL

§

SYSTIMER_TARGET0

45 - SYSTIMER_TARGET0

§

SYSTIMER_TARGET1

46 - SYSTIMER_TARGET1

§

SYSTIMER_TARGET2

47 - SYSTIMER_TARGET2

§

APB_ADC

48 - APB_ADC

§

MCPWM0

49 - MCPWM0

§

PCNT

50 - PCNT

§

PARL_IO_TX

51 - PARL_IO_TX

§

PARL_IO_RX

52 - PARL_IO_RX

§

DMA_IN_CH0

53 - DMA_IN_CH0

§

DMA_IN_CH1

54 - DMA_IN_CH1

§

DMA_IN_CH2

55 - DMA_IN_CH2

§

DMA_OUT_CH0

56 - DMA_OUT_CH0

§

DMA_OUT_CH1

57 - DMA_OUT_CH1

§

DMA_OUT_CH2

58 - DMA_OUT_CH2

§

GPSPI2

59 - GPSPI2

§

AES

60 - AES

§

SHA

61 - SHA

§

RSA

62 - RSA

§

ECC

63 - ECC

§

ECDSA

64 - ECDSA

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.