embassy-stm32

Crates

git

Versions

stm32h503kb

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Enum embassy_stm32::interrupt::Interrupt

pub enum Interrupt {
Show 77 variants WWDG = 0, PVD_AVD = 1, RTC = 2, TAMP = 4, RAMCFG = 5, FLASH = 6, RCC = 9, EXTI0 = 11, EXTI1 = 12, EXTI2 = 13, EXTI3 = 14, EXTI4 = 15, EXTI5 = 16, EXTI6 = 17, EXTI7 = 18, EXTI8 = 19, EXTI9 = 20, EXTI10 = 21, EXTI11 = 22, EXTI12 = 23, EXTI13 = 24, EXTI14 = 25, EXTI15 = 26, GPDMA1_CHANNEL0 = 27, GPDMA1_CHANNEL1 = 28, GPDMA1_CHANNEL2 = 29, GPDMA1_CHANNEL3 = 30, GPDMA1_CHANNEL4 = 31, GPDMA1_CHANNEL5 = 32, GPDMA1_CHANNEL6 = 33, GPDMA1_CHANNEL7 = 34, IWDG = 35, ADC1 = 37, DAC1 = 38, FDCAN1_IT0 = 39, FDCAN1_IT1 = 40, TIM1_BRK = 41, TIM1_UP = 42, TIM1_TRG_COM = 43, TIM1_CC = 44, TIM2 = 45, TIM3 = 46, TIM6 = 49, TIM7 = 50, I2C1_EV = 51, I2C1_ER = 52, I2C2_EV = 53, I2C2_ER = 54, SPI1 = 55, SPI2 = 56, SPI3 = 57, USART1 = 58, USART2 = 59, USART3 = 60, LPUART1 = 63, LPTIM1 = 64, LPTIM2 = 70, USB_DRD_FS = 74, CRS = 75, GPDMA2_CHANNEL0 = 90, GPDMA2_CHANNEL1 = 91, GPDMA2_CHANNEL2 = 92, GPDMA2_CHANNEL3 = 93, GPDMA2_CHANNEL4 = 94, GPDMA2_CHANNEL5 = 95, GPDMA2_CHANNEL6 = 96, GPDMA2_CHANNEL7 = 97, FPU = 103, ICACHE = 104, DTS = 113, RNG = 114, HASH = 117, I3C1_EV = 123, I3C1_ER = 124, I3C2_EV = 131, I3C2_ER = 132, COMP1 = 133,
}

Variantsยง

ยง

WWDG = 0

0 - WWDG

ยง

PVD_AVD = 1

1 - PVD_AVD

ยง

RTC = 2

2 - RTC

ยง

TAMP = 4

4 - TAMP

ยง

RAMCFG = 5

5 - RAMCFG

ยง

FLASH = 6

6 - FLASH

ยง

RCC = 9

9 - RCC

ยง

EXTI0 = 11

11 - EXTI0

ยง

EXTI1 = 12

12 - EXTI1

ยง

EXTI2 = 13

13 - EXTI2

ยง

EXTI3 = 14

14 - EXTI3

ยง

EXTI4 = 15

15 - EXTI4

ยง

EXTI5 = 16

16 - EXTI5

ยง

EXTI6 = 17

17 - EXTI6

ยง

EXTI7 = 18

18 - EXTI7

ยง

EXTI8 = 19

19 - EXTI8

ยง

EXTI9 = 20

20 - EXTI9

ยง

EXTI10 = 21

21 - EXTI10

ยง

EXTI11 = 22

22 - EXTI11

ยง

EXTI12 = 23

23 - EXTI12

ยง

EXTI13 = 24

24 - EXTI13

ยง

EXTI14 = 25

25 - EXTI14

ยง

EXTI15 = 26

26 - EXTI15

ยง

GPDMA1_CHANNEL0 = 27

27 - GPDMA1_CHANNEL0

ยง

GPDMA1_CHANNEL1 = 28

28 - GPDMA1_CHANNEL1

ยง

GPDMA1_CHANNEL2 = 29

29 - GPDMA1_CHANNEL2

ยง

GPDMA1_CHANNEL3 = 30

30 - GPDMA1_CHANNEL3

ยง

GPDMA1_CHANNEL4 = 31

31 - GPDMA1_CHANNEL4

ยง

GPDMA1_CHANNEL5 = 32

32 - GPDMA1_CHANNEL5

ยง

GPDMA1_CHANNEL6 = 33

33 - GPDMA1_CHANNEL6

ยง

GPDMA1_CHANNEL7 = 34

34 - GPDMA1_CHANNEL7

ยง

IWDG = 35

35 - IWDG

ยง

ADC1 = 37

37 - ADC1

ยง

DAC1 = 38

38 - DAC1

ยง

FDCAN1_IT0 = 39

39 - FDCAN1_IT0

ยง

FDCAN1_IT1 = 40

40 - FDCAN1_IT1

ยง

TIM1_BRK = 41

41 - TIM1_BRK

ยง

TIM1_UP = 42

42 - TIM1_UP

ยง

TIM1_TRG_COM = 43

43 - TIM1_TRG_COM

ยง

TIM1_CC = 44

44 - TIM1_CC

ยง

TIM2 = 45

45 - TIM2

ยง

TIM3 = 46

46 - TIM3

ยง

TIM6 = 49

49 - TIM6

ยง

TIM7 = 50

50 - TIM7

ยง

I2C1_EV = 51

51 - I2C1_EV

ยง

I2C1_ER = 52

52 - I2C1_ER

ยง

I2C2_EV = 53

53 - I2C2_EV

ยง

I2C2_ER = 54

54 - I2C2_ER

ยง

SPI1 = 55

55 - SPI1

ยง

SPI2 = 56

56 - SPI2

ยง

SPI3 = 57

57 - SPI3

ยง

USART1 = 58

58 - USART1

ยง

USART2 = 59

59 - USART2

ยง

USART3 = 60

60 - USART3

ยง

LPUART1 = 63

63 - LPUART1

ยง

LPTIM1 = 64

64 - LPTIM1

ยง

LPTIM2 = 70

70 - LPTIM2

ยง

USB_DRD_FS = 74

74 - USB_DRD_FS

ยง

CRS = 75

75 - CRS

ยง

GPDMA2_CHANNEL0 = 90

90 - GPDMA2_CHANNEL0

ยง

GPDMA2_CHANNEL1 = 91

91 - GPDMA2_CHANNEL1

ยง

GPDMA2_CHANNEL2 = 92

92 - GPDMA2_CHANNEL2

ยง

GPDMA2_CHANNEL3 = 93

93 - GPDMA2_CHANNEL3

ยง

GPDMA2_CHANNEL4 = 94

94 - GPDMA2_CHANNEL4

ยง

GPDMA2_CHANNEL5 = 95

95 - GPDMA2_CHANNEL5

ยง

GPDMA2_CHANNEL6 = 96

96 - GPDMA2_CHANNEL6

ยง

GPDMA2_CHANNEL7 = 97

97 - GPDMA2_CHANNEL7

ยง

FPU = 103

103 - FPU

ยง

ICACHE = 104

104 - ICACHE

ยง

DTS = 113

113 - DTS

ยง

RNG = 114

114 - RNG

ยง

HASH = 117

117 - HASH

ยง

I3C1_EV = 123

123 - I3C1_EV

ยง

I3C1_ER = 124

124 - I3C1_ER

ยง

I3C2_EV = 131

131 - I3C2_EV

ยง

I3C2_ER = 132

132 - I3C2_ER

ยง

COMP1 = 133

133 - COMP1

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<(), Error>

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท 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.
ยง

impl Copy for Interrupt

ยง

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

sourceยง

unsafe fn clone_to_uninit(&self, dst: *mut T)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
sourceยง

impl<T> From<T> for T

sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

sourceยง

impl<T> InterruptExt for T
where T: InterruptNumber + Copy,

sourceยง

unsafe fn enable(self)

Enable the interrupt.
sourceยง

fn disable(self)

Disable the interrupt.
sourceยง

fn is_active(self) -> bool

Check if interrupt is being handled.
sourceยง

fn is_enabled(self) -> bool

Check if interrupt is enabled.
sourceยง

fn is_pending(self) -> bool

Check if interrupt is pending.
sourceยง

fn pend(self)

Set interrupt pending.
sourceยง

fn unpend(self)

Unset interrupt pending.
sourceยง

fn get_priority(self) -> Priority

Get the priority of the interrupt.
sourceยง

fn set_priority(self, prio: Priority)

Set the interrupt priority.
sourceยง

fn set_priority_with_cs(self, _cs: CriticalSection<'_>, prio: Priority)

Set the interrupt priority with an already-acquired critical section Read more
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.