#[repr(u16)]
pub enum Interrupt {
Show 65 variants PMU = 0, EFUSE = 1, LP_RTC_TIMER = 2, LP_BLE_TIMER = 3, LP_WDT = 4, LP_PERI_TIMEOUT = 5, LP_APM_M0 = 6, FROM_CPU_INTR0 = 7, FROM_CPU_INTR1 = 8, FROM_CPU_INTR2 = 9, FROM_CPU_INTR3 = 10, ASSIST_DEBUG = 11, TRACE = 12, CACHE = 13, CPU_PERI_TIMEOUT = 14, BT_MAC = 15, BT_BB = 16, BT_BB_NMI = 17, COEX = 18, BLE_TIMER = 19, BLE_SEC = 20, ZB_MAC = 21, GPIO = 22, GPIO_NMI = 23, PAU = 24, HP_PERI_TIMEOUT = 25, HP_APM_M0 = 26, HP_APM_M1 = 27, HP_APM_M2 = 28, HP_APM_M3 = 29, MSPI = 30, I2S0 = 31, UHCI0 = 32, UART0 = 33, UART1 = 34, LEDC = 35, TWAI0 = 36, USB_DEVICE = 37, RMT = 38, I2C_EXT0 = 39, I2C_EXT1 = 40, TG0_T0_LEVEL = 41, TG0_WDT_LEVEL = 42, TG1_T0_LEVEL = 43, TG1_WDT_LEVEL = 44, SYSTIMER_TARGET0 = 45, SYSTIMER_TARGET1 = 46, SYSTIMER_TARGET2 = 47, APB_ADC = 48, MCPWM0 = 49, PCNT = 50, PARL_IO_TX = 51, PARL_IO_RX = 52, DMA_IN_CH0 = 53, DMA_IN_CH1 = 54, DMA_IN_CH2 = 55, DMA_OUT_CH0 = 56, DMA_OUT_CH1 = 57, DMA_OUT_CH2 = 58, GPSPI2 = 59, AES = 60, SHA = 61, RSA = 62, ECC = 63, ECDSA = 64,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

PMU = 0

0 - PMU

§

EFUSE = 1

1 - EFUSE

§

LP_RTC_TIMER = 2

2 - LP_RTC_TIMER

§

LP_BLE_TIMER = 3

3 - LP_BLE_TIMER

§

LP_WDT = 4

4 - LP_WDT

§

LP_PERI_TIMEOUT = 5

5 - LP_PERI_TIMEOUT

§

LP_APM_M0 = 6

6 - LP_APM_M0

§

FROM_CPU_INTR0 = 7

7 - FROM_CPU_INTR0

§

FROM_CPU_INTR1 = 8

8 - FROM_CPU_INTR1

§

FROM_CPU_INTR2 = 9

9 - FROM_CPU_INTR2

§

FROM_CPU_INTR3 = 10

10 - FROM_CPU_INTR3

§

ASSIST_DEBUG = 11

11 - ASSIST_DEBUG

§

TRACE = 12

12 - TRACE

§

CACHE = 13

13 - CACHE

§

CPU_PERI_TIMEOUT = 14

14 - CPU_PERI_TIMEOUT

§

BT_MAC = 15

15 - BT_MAC

§

BT_BB = 16

16 - BT_BB

§

BT_BB_NMI = 17

17 - BT_BB_NMI

§

COEX = 18

18 - COEX

§

BLE_TIMER = 19

19 - BLE_TIMER

§

BLE_SEC = 20

20 - BLE_SEC

§

ZB_MAC = 21

21 - ZB_MAC

§

GPIO = 22

22 - GPIO

§

GPIO_NMI = 23

23 - GPIO_NMI

§

PAU = 24

24 - PAU

§

HP_PERI_TIMEOUT = 25

25 - HP_PERI_TIMEOUT

§

HP_APM_M0 = 26

26 - HP_APM_M0

§

HP_APM_M1 = 27

27 - HP_APM_M1

§

HP_APM_M2 = 28

28 - HP_APM_M2

§

HP_APM_M3 = 29

29 - HP_APM_M3

§

MSPI = 30

30 - MSPI

§

I2S0 = 31

31 - I2S0

§

UHCI0 = 32

32 - UHCI0

§

UART0 = 33

33 - UART0

§

UART1 = 34

34 - UART1

§

LEDC = 35

35 - LEDC

§

TWAI0 = 36

36 - TWAI0

§

USB_DEVICE = 37

37 - USB_DEVICE

§

RMT = 38

38 - RMT

§

I2C_EXT0 = 39

39 - I2C_EXT0

§

I2C_EXT1 = 40

40 - I2C_EXT1

§

TG0_T0_LEVEL = 41

41 - TG0_T0_LEVEL

§

TG0_WDT_LEVEL = 42

42 - TG0_WDT_LEVEL

§

TG1_T0_LEVEL = 43

43 - TG1_T0_LEVEL

§

TG1_WDT_LEVEL = 44

44 - TG1_WDT_LEVEL

§

SYSTIMER_TARGET0 = 45

45 - SYSTIMER_TARGET0

§

SYSTIMER_TARGET1 = 46

46 - SYSTIMER_TARGET1

§

SYSTIMER_TARGET2 = 47

47 - SYSTIMER_TARGET2

§

APB_ADC = 48

48 - APB_ADC

§

MCPWM0 = 49

49 - MCPWM0

§

PCNT = 50

50 - PCNT

§

PARL_IO_TX = 51

51 - PARL_IO_TX

§

PARL_IO_RX = 52

52 - PARL_IO_RX

§

DMA_IN_CH0 = 53

53 - DMA_IN_CH0

§

DMA_IN_CH1 = 54

54 - DMA_IN_CH1

§

DMA_IN_CH2 = 55

55 - DMA_IN_CH2

§

DMA_OUT_CH0 = 56

56 - DMA_OUT_CH0

§

DMA_OUT_CH1 = 57

57 - DMA_OUT_CH1

§

DMA_OUT_CH2 = 58

58 - DMA_OUT_CH2

§

GPSPI2 = 59

59 - GPSPI2

§

AES = 60

60 - AES

§

SHA = 61

61 - SHA

§

RSA = 62

62 - RSA

§

ECC = 63

63 - ECC

§

ECDSA = 64

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 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 T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where 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 T
where 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.