#[repr(u16)]
pub enum Interrupt {
Show 15 variants SPI0, USART0, USART1, I2C0, SCT0, WDT, WKT, PIN_INT0, PIN_INT1, PIN_INT2, PIN_INT3, PIN_INT4, PIN_INT5, PIN_INT6, PIN_INT7,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

SPI0

0 - SPI0

§

USART0

3 - USART0

§

USART1

4 - USART1

§

I2C0

8 - I2C0

§

SCT0

9 - SCT0

§

WDT

12 - WDT

§

WKT

15 - WKT

§

PIN_INT0

24 - PIN_INT0

§

PIN_INT1

25 - PIN_INT1

§

PIN_INT2

26 - PIN_INT2

§

PIN_INT3

27 - PIN_INT3

§

PIN_INT4

28 - PIN_INT4

§

PIN_INT5

29 - PIN_INT5

§

PIN_INT6

30 - PIN_INT6

§

PIN_INT7

31 - PIN_INT7

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Return the interrupt number associated with this variant. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.