#[repr(u16)]
pub enum Interrupt {
Show 77 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_MASTER, ZB_MAC, PMU, EFUSE, LP_RTC_TIMER, LP_UART, LP_I2C, LP_WDT, LP_PERI_TIMEOUT, LP_APM_M0, LP_APM_M1, FROM_CPU_INTR0, FROM_CPU_INTR1, FROM_CPU_INTR2, FROM_CPU_INTR3, ASSIST_DEBUG, TRACE, CACHE, CPU_PERI_TIMEOUT, GPIO, GPIO_NMI, PAU, HP_PERI_TIMEOUT, MODEM_PERI_TIMEOUT, HP_APM_M0, HP_APM_M1, HP_APM_M2, HP_APM_M3, LP_APM0, MSPI, I2S1, UHCI0, UART0, UART1, LEDC, TWAI0, TWAI1, USB_DEVICE, RMT, I2C_EXT0, TG0_T0_LEVEL, TG0_T1_LEVEL, TG0_WDT_LEVEL, TG1_T0_LEVEL, TG1_T1_LEVEL, TG1_WDT_LEVEL, SYSTIMER_TARGET0, SYSTIMER_TARGET1, SYSTIMER_TARGET2, APB_SARADC, MCPWM0, PCNT, PARL_IO, SLC0, SLC1, DMA_IN_CH0, DMA_IN_CH1, DMA_IN_CH2, DMA_OUT_CH0, DMA_OUT_CH1, DMA_OUT_CH2, SPI2, AES, SHA, RSA, ECC,
}
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_MASTER

11 - I2C_MASTER

§

ZB_MAC

12 - ZB_MAC

§

PMU

13 - PMU

§

EFUSE

14 - EFUSE

§

LP_RTC_TIMER

15 - LP_RTC_TIMER

§

LP_UART

16 - LP_UART

§

LP_I2C

17 - LP_I2C

§

LP_WDT

18 - LP_WDT

§

LP_PERI_TIMEOUT

19 - LP_PERI_TIMEOUT

§

LP_APM_M0

20 - LP_APM_M0

§

LP_APM_M1

21 - LP_APM_M1

§

FROM_CPU_INTR0

22 - FROM_CPU_INTR0

§

FROM_CPU_INTR1

23 - FROM_CPU_INTR1

§

FROM_CPU_INTR2

24 - FROM_CPU_INTR2

§

FROM_CPU_INTR3

25 - FROM_CPU_INTR3

§

ASSIST_DEBUG

26 - ASSIST_DEBUG

§

TRACE

27 - TRACE

§

CACHE

28 - CACHE

§

CPU_PERI_TIMEOUT

29 - CPU_PERI_TIMEOUT

§

GPIO

30 - GPIO

§

GPIO_NMI

31 - GPIO_NMI

§

PAU

32 - PAU

§

HP_PERI_TIMEOUT

33 - HP_PERI_TIMEOUT

§

MODEM_PERI_TIMEOUT

34 - MODEM_PERI_TIMEOUT

§

HP_APM_M0

35 - HP_APM_M0

§

HP_APM_M1

36 - HP_APM_M1

§

HP_APM_M2

37 - HP_APM_M2

§

HP_APM_M3

38 - HP_APM_M3

§

LP_APM0

39 - LP_APM0

§

MSPI

40 - MSPI

§

I2S1

41 - I2S1

§

UHCI0

42 - UHCI0

§

UART0

43 - UART0

§

UART1

44 - UART1

§

LEDC

45 - LEDC

§

TWAI0

46 - TWAI0

§

TWAI1

47 - TWAI1

§

USB_DEVICE

48 - USB_DEVICE

§

RMT

49 - RMT

§

I2C_EXT0

50 - I2C_EXT0

§

TG0_T0_LEVEL

51 - TG0_T0_LEVEL

§

TG0_T1_LEVEL

52 - TG0_T1_LEVEL

§

TG0_WDT_LEVEL

53 - TG0_WDT_LEVEL

§

TG1_T0_LEVEL

54 - TG1_T0_LEVEL

§

TG1_T1_LEVEL

55 - TG1_T1_LEVEL

§

TG1_WDT_LEVEL

56 - TG1_WDT_LEVEL

§

SYSTIMER_TARGET0

57 - SYSTIMER_TARGET0

§

SYSTIMER_TARGET1

58 - SYSTIMER_TARGET1

§

SYSTIMER_TARGET2

59 - SYSTIMER_TARGET2

§

APB_SARADC

60 - APB_SARADC

§

MCPWM0

61 - MCPWM0

§

PCNT

62 - PCNT

§

PARL_IO

63 - PARL_IO

§

SLC0

64 - SLC0

§

SLC1

65 - SLC1

§

DMA_IN_CH0

66 - DMA_IN_CH0

§

DMA_IN_CH1

67 - DMA_IN_CH1

§

DMA_IN_CH2

68 - DMA_IN_CH2

§

DMA_OUT_CH0

69 - DMA_OUT_CH0

§

DMA_OUT_CH1

70 - DMA_OUT_CH1

§

DMA_OUT_CH2

71 - DMA_OUT_CH2

§

SPI2

72 - SPI2

§

AES

73 - AES

§

SHA

74 - SHA

§

RSA

75 - RSA

§

ECC

76 - ECC

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.