#[repr(u16)]
pub enum Interrupt {
Show 29 variants LVD_BOD = 0, RTC = 1, FMC = 2, EVWUP = 3, EXTI0_1 = 4, EXTI2_3 = 5, EXTI4_15 = 6, CMP0_1 = 7, ADC = 8, MCTM0 = 10, GPTM1 = 11, GPTM0 = 12, SCTM0 = 13, SCTM1 = 14, BFTM0 = 17, BFTM1 = 18, I2C0 = 19, I2C1 = 20, SPI0 = 21, SPI1 = 22, USART0 = 23, USART1 = 24, UART0 = 25, UART1 = 26, SCI = 27, I2S = 28, USB = 29, PDMACH0_1 = 30, PDMACH2_5 = 31,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

LVD_BOD = 0

0 - LVD_BOD

§

RTC = 1

1 - RTC

§

FMC = 2

2 - FMC

§

EVWUP = 3

3 - EVWUP

§

EXTI0_1 = 4

4 - EXTI0_1

§

EXTI2_3 = 5

5 - EXTI2_3

§

EXTI4_15 = 6

6 - EXTI4_15

§

CMP0_1 = 7

7 - CMP0_1

§

ADC = 8

8 - ADC

§

MCTM0 = 10

10 - MCTM0

§

GPTM1 = 11

11 - GPTM1

§

GPTM0 = 12

12 - GPTM0

§

SCTM0 = 13

13 - SCTM0

§

SCTM1 = 14

14 - SCTM1

§

BFTM0 = 17

17 - BFTM0

§

BFTM1 = 18

18 - BFTM1

§

I2C0 = 19

19 - I2C0

§

I2C1 = 20

20 - I2C1

§

SPI0 = 21

21 - SPI0

§

SPI1 = 22

22 - SPI1

§

USART0 = 23

23 - USART0

§

USART1 = 24

24 - USART1

§

UART0 = 25

25 - UART0

§

UART1 = 26

26 - UART1

§

SCI = 27

27 - SCI

§

I2S = 28

28 - I2S

§

USB = 29

29 - USB

§

PDMACH0_1 = 30

30 - PDMACH0_1

§

PDMACH2_5 = 31

31 - PDMACH2_5

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