#[repr(u16)]
pub enum Interrupt {
Show 42 variants WIFI_MAC = 0, WIFI_MAC_NMI = 1, WIFI_PWR = 2, WIFI_BB = 3, BT_MAC = 4, BT_BB = 5, BT_BB_NMI = 6, LP_TIMER = 7, COEX = 8, BLE_TIMER = 9, BLE_SEC = 10, I2C_MST = 11, APB_CTRL = 12, GPIO = 13, GPIO_NMI = 14, SPI_INTR_1 = 15, SPI_INTR_2 = 16, UART0 = 17, UART1 = 18, LEDC = 19, EFUSE = 20, RTC_CORE = 21, I2C_EXT0 = 22, TG0_T0_LEVEL = 23, TG0_WDT_LEVEL = 24, CACHE_IA = 25, SYSTIMER_TARGET0 = 26, SYSTIMER_TARGET1 = 27, SYSTIMER_TARGET2 = 28, SPI_MEM_REJECT_CACHE = 29, ICACHE_PRELOAD0 = 30, ICACHE_SYNC0 = 31, APB_ADC = 32, DMA_CH0 = 33, SHA = 34, ECC = 35, FROM_CPU_INTR0 = 36, FROM_CPU_INTR1 = 37, FROM_CPU_INTR2 = 38, FROM_CPU_INTR3 = 39, ASSIST_DEBUG = 40, ETS_CORE0_PIF_PMS_SIZE = 41,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

WIFI_MAC = 0

0 - WIFI_MAC

§

WIFI_MAC_NMI = 1

1 - WIFI_MAC_NMI

§

WIFI_PWR = 2

2 - WIFI_PWR

§

WIFI_BB = 3

3 - WIFI_BB

§

BT_MAC = 4

4 - BT_MAC

§

BT_BB = 5

5 - BT_BB

§

BT_BB_NMI = 6

6 - BT_BB_NMI

§

LP_TIMER = 7

7 - LP_TIMER

§

COEX = 8

8 - COEX

§

BLE_TIMER = 9

9 - BLE_TIMER

§

BLE_SEC = 10

10 - BLE_SEC

§

I2C_MST = 11

11 - I2C_MST

§

APB_CTRL = 12

12 - APB_CTRL

§

GPIO = 13

13 - GPIO

§

GPIO_NMI = 14

14 - GPIO_NMI

§

SPI_INTR_1 = 15

15 - SPI_INTR_1

§

SPI_INTR_2 = 16

16 - SPI_INTR_2

§

UART0 = 17

17 - UART0

§

UART1 = 18

18 - UART1

§

LEDC = 19

19 - LEDC

§

EFUSE = 20

20 - EFUSE

§

RTC_CORE = 21

21 - RTC_CORE

§

I2C_EXT0 = 22

22 - I2C_EXT0

§

TG0_T0_LEVEL = 23

23 - TG0_T0_LEVEL

§

TG0_WDT_LEVEL = 24

24 - TG0_WDT_LEVEL

§

CACHE_IA = 25

25 - CACHE_IA

§

SYSTIMER_TARGET0 = 26

26 - SYSTIMER_TARGET0

§

SYSTIMER_TARGET1 = 27

27 - SYSTIMER_TARGET1

§

SYSTIMER_TARGET2 = 28

28 - SYSTIMER_TARGET2

§

SPI_MEM_REJECT_CACHE = 29

29 - SPI_MEM_REJECT_CACHE

§

ICACHE_PRELOAD0 = 30

30 - ICACHE_PRELOAD0

§

ICACHE_SYNC0 = 31

31 - ICACHE_SYNC0

§

APB_ADC = 32

32 - APB_ADC

§

DMA_CH0 = 33

33 - DMA_CH0

§

SHA = 34

34 - SHA

§

ECC = 35

35 - ECC

§

FROM_CPU_INTR0 = 36

36 - FROM_CPU_INTR0

§

FROM_CPU_INTR1 = 37

37 - FROM_CPU_INTR1

§

FROM_CPU_INTR2 = 38

38 - FROM_CPU_INTR2

§

FROM_CPU_INTR3 = 39

39 - FROM_CPU_INTR3

§

ASSIST_DEBUG = 40

40 - Assist debug interrupt

§

ETS_CORE0_PIF_PMS_SIZE = 41

41 - ETS_CORE0_PIF_PMS_SIZE

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 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.