Embassy
stm32-metapac

Crates

git

Versions

stm32c011d6

Flavors

pub enum Interrupt {
Show 21 variants WWDG = 0, RTC = 2, FLASH = 3, RCC = 4, EXTI0_1 = 5, EXTI2_3 = 6, EXTI4_15 = 7, DMA1_CHANNEL1 = 9, DMA1_CHANNEL2_3 = 10, DMAMUX1 = 11, ADC1 = 12, TIM1_BRK_UP_TRG_COM = 13, TIM1_CC = 14, TIM3 = 16, TIM14 = 19, TIM16 = 21, TIM17 = 22, I2C1 = 23, SPI1 = 25, USART1 = 27, USART2 = 28,
}

Variants§

§

WWDG = 0

0 - WWDG

§

RTC = 2

2 - RTC

§

FLASH = 3

3 - FLASH

§

RCC = 4

4 - RCC

§

EXTI0_1 = 5

5 - EXTI0_1

§

EXTI2_3 = 6

6 - EXTI2_3

§

EXTI4_15 = 7

7 - EXTI4_15

§

DMA1_CHANNEL1 = 9

9 - DMA1_CHANNEL1

§

DMA1_CHANNEL2_3 = 10

10 - DMA1_CHANNEL2_3

§

DMAMUX1 = 11

11 - DMAMUX1

§

ADC1 = 12

12 - ADC1

§

TIM1_BRK_UP_TRG_COM = 13

13 - TIM1_BRK_UP_TRG_COM

§

TIM1_CC = 14

14 - TIM1_CC

§

TIM3 = 16

16 - TIM3

§

TIM14 = 19

19 - TIM14

§

TIM16 = 21

21 - TIM16

§

TIM17 = 22

22 - TIM17

§

I2C1 = 23

23 - I2C1

§

SPI1 = 25

25 - SPI1

§

USART1 = 27

27 - USART1

§

USART2 = 28

28 - USART2

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

Formats the value using the given formatter. Read more
§

impl InterruptNumber for Interrupt

§

fn number(self) -> u16

Return the interrupt number associated with this variant. 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 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.