Skip to main content

Interrupt

Enum Interrupt 

Source
pub enum Interrupt {
Show 40 variants TIMER_INT0 = 26, TIMER_INT1 = 27, TIMER_INT2 = 28, RTC_IRQ = 29, I2C0_INT = 31, I2C1_INT = 32, GPIO_INT0 = 33, GPIO_INT1 = 34, GPIO_INT2 = 35, COEX_WL_INT = 40, COEX_BT_INT = 41, COEX_WIFI_RESUME_INT = 42, SPI_INT = 43, WLPHY_INT = 44, WLMAC_INT = 45, BLE_INT = 46, SLE_INT = 47, TSENSOR_INT = 48, PMU_CMU_ERR_INT = 49, DIAG_INT = 50, I2S_INT = 51, QSPI_INT = 52, UART0_INT = 53, UART1_INT = 54, UART2_INT = 55, PWM_ABNOR_INT = 56, PWM_CFG_INT = 57, SFC_INT = 58, DMA_INT = 59, TIMER_ABNOR_INT = 60, I2S_TX_INT = 61, I2S_RX_INT = 62, PKE_REE_INT = 63, SPACC_REE_INT = 64, RKP_REE_INT = 65, KLAD_REE_INT = 66, MAC_MONITOR_INT = 69, MEM_MONITOR_INT = 70, TCM_MONITOR_INT = 71, LSADC_INTR = 72,
}
Expand description

External interrupts. These interrupts are handled by the external peripherals.

Variants§

§

TIMER_INT0 = 26

26 - TIMER_INT0

§

TIMER_INT1 = 27

27 - TIMER_INT1

§

TIMER_INT2 = 28

28 - TIMER_INT2

§

RTC_IRQ = 29

29 - RTC_IRQ

§

I2C0_INT = 31

31 - I2C0_INT

§

I2C1_INT = 32

32 - I2C1_INT

§

GPIO_INT0 = 33

33 - GPIO_INT0

§

GPIO_INT1 = 34

34 - GPIO_INT1

§

GPIO_INT2 = 35

35 - GPIO_INT2

§

COEX_WL_INT = 40

40 - COEX_WL_INT

§

COEX_BT_INT = 41

41 - COEX_BT_INT

§

COEX_WIFI_RESUME_INT = 42

42 - COEX_WIFI_RESUME_INT

§

SPI_INT = 43

43 - SPI_INT

§

WLPHY_INT = 44

44 - WLPHY_INT

§

WLMAC_INT = 45

45 - WLMAC_INT

§

BLE_INT = 46

46 - BLE_INT

§

SLE_INT = 47

47 - SLE_INT

§

TSENSOR_INT = 48

48 - TSENSOR_INT

§

PMU_CMU_ERR_INT = 49

49 - PMU_CMU_ERR_INT

§

DIAG_INT = 50

50 - DIAG_INT

§

I2S_INT = 51

51 - I2S_INT

§

QSPI_INT = 52

52 - QSPI_INT

§

UART0_INT = 53

53 - UART0_INT

§

UART1_INT = 54

54 - UART1_INT

§

UART2_INT = 55

55 - UART2_INT

§

PWM_ABNOR_INT = 56

56 - PWM_ABNOR_INT

§

PWM_CFG_INT = 57

57 - PWM_CFG_INT

§

SFC_INT = 58

58 - SFC_INT

§

DMA_INT = 59

59 - DMA_INT

§

TIMER_ABNOR_INT = 60

60 - TIMER_ABNOR_INT

§

I2S_TX_INT = 61

61 - I2S_TX_INT

§

I2S_RX_INT = 62

62 - I2S_RX_INT

§

PKE_REE_INT = 63

63 - PKE_REE_INT

§

SPACC_REE_INT = 64

64 - SPACC_REE_INT

§

RKP_REE_INT = 65

65 - RKP_REE_INT

§

KLAD_REE_INT = 66

66 - KLAD_REE_INT

§

MAC_MONITOR_INT = 69

69 - MAC_MONITOR_INT

§

MEM_MONITOR_INT = 70

70 - MEM_MONITOR_INT

§

TCM_MONITOR_INT = 71

71 - TCM_MONITOR_INT

§

LSADC_INTR = 72

72 - LSADC_INTR

Trait Implementations§

Source§

impl Clone for ExternalInterrupt

Source§

fn clone(&self) -> ExternalInterrupt

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ExternalInterrupt

Source§

impl Debug for ExternalInterrupt

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Eq for ExternalInterrupt

Source§

impl PartialEq for ExternalInterrupt

Source§

fn eq(&self, other: &ExternalInterrupt) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ExternalInterrupt

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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>,

Source§

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

Source§

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.