#[repr(u16)]
pub enum Interrupt {
Show 63 variants EMU, WDOG0, LDMA, GPIO_EVEN, SMU, TIMER0, USART0_RX, USART0_TX, ACMP0, ADC0, IDAC0, I2C0, I2C1, GPIO_ODD, TIMER1, TIMER2, TIMER3, USART1_RX, USART1_TX, USART2_RX, USART2_TX, UART0_RX, UART0_TX, UART1_RX, UART1_TX, LEUART0, LEUART1, LETIMER0, PCNT0, PCNT1, PCNT2, RTCC, CMU, MSC, CRYPTO0, CRYOTIMER, FPUEH, USART3_RX, USART3_TX, USART4_RX, USART4_TX, WTIMER0, WTIMER1, WTIMER2, WTIMER3, I2C2, VDAC0, TIMER4, TIMER5, TIMER6, USART5_RX, USART5_TX, CSEN, LESENSE, EBI, ACMP2, ADC1, CAN0, CAN1, RTC, WDOG1, LETIMER1, TRNG0,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

EMU

0 - EMU

§

WDOG0

1 - WDOG0

§

LDMA

2 - LDMA

§

GPIO_EVEN

3 - GPIO_EVEN

§

SMU

4 - SMU

§

TIMER0

5 - TIMER0

§

USART0_RX

6 - USART0_RX

§

USART0_TX

7 - USART0_TX

§

ACMP0

8 - ACMP0

§

ADC0

9 - ADC0

§

IDAC0

10 - IDAC0

§

I2C0

11 - I2C0

§

I2C1

12 - I2C1

§

GPIO_ODD

13 - GPIO_ODD

§

TIMER1

14 - TIMER1

§

TIMER2

15 - TIMER2

§

TIMER3

16 - TIMER3

§

USART1_RX

17 - USART1_RX

§

USART1_TX

18 - USART1_TX

§

USART2_RX

19 - USART2_RX

§

USART2_TX

20 - USART2_TX

§

UART0_RX

21 - UART0_RX

§

UART0_TX

22 - UART0_TX

§

UART1_RX

23 - UART1_RX

§

UART1_TX

24 - UART1_TX

§

LEUART0

25 - LEUART0

§

LEUART1

26 - LEUART1

§

LETIMER0

27 - LETIMER0

§

PCNT0

28 - PCNT0

§

PCNT1

29 - PCNT1

§

PCNT2

30 - PCNT2

§

RTCC

31 - RTCC

§

CMU

32 - CMU

§

MSC

33 - MSC

§

CRYPTO0

34 - CRYPTO0

§

CRYOTIMER

35 - CRYOTIMER

§

FPUEH

36 - FPUEH

§

USART3_RX

37 - USART3_RX

§

USART3_TX

38 - USART3_TX

§

USART4_RX

39 - USART4_RX

§

USART4_TX

40 - USART4_TX

§

WTIMER0

41 - WTIMER0

§

WTIMER1

42 - WTIMER1

§

WTIMER2

43 - WTIMER2

§

WTIMER3

44 - WTIMER3

§

I2C2

45 - I2C2

§

VDAC0

46 - VDAC0

§

TIMER4

47 - TIMER4

§

TIMER5

48 - TIMER5

§

TIMER6

49 - TIMER6

§

USART5_RX

50 - USART5_RX

§

USART5_TX

51 - USART5_TX

§

CSEN

52 - CSEN

§

LESENSE

53 - LESENSE

§

EBI

54 - EBI

§

ACMP2

55 - ACMP2

§

ADC1

56 - ADC1

§

CAN0

60 - CAN0

§

CAN1

61 - CAN1

§

RTC

63 - RTC

§

WDOG1

64 - WDOG1

§

LETIMER1

65 - LETIMER1

§

TRNG0

66 - TRNG0

Trait Implementations§

source§

impl Clone for Interrupt

source§

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
source§

impl Debug for Interrupt

source§

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

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

impl InterruptNumber for Interrupt

source§

fn number(self) -> u16

Return the interrupt number associated with this variant. Read more
source§

impl PartialEq<Interrupt> for Interrupt

source§

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

impl Copy for Interrupt

source§

impl Eq for Interrupt

source§

impl StructuralEq for Interrupt

source§

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.