embassy-stm32

Crates

git

Versions

stm32g483ce

Flavors

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

Enum embassy_stm32::interrupt::Interrupt

pub enum Interrupt {
Show 94 variants WWDG = 0, PVD_PVM = 1, RTC_TAMP_LSECSS = 2, RTC_WKUP = 3, FLASH = 4, RCC = 5, EXTI0 = 6, EXTI1 = 7, EXTI2 = 8, EXTI3 = 9, EXTI4 = 10, DMA1_CHANNEL1 = 11, DMA1_CHANNEL2 = 12, DMA1_CHANNEL3 = 13, DMA1_CHANNEL4 = 14, DMA1_CHANNEL5 = 15, DMA1_CHANNEL6 = 16, DMA1_CHANNEL7 = 17, ADC1_2 = 18, USB_HP = 19, USB_LP = 20, FDCAN1_IT0 = 21, FDCAN1_IT1 = 22, EXTI9_5 = 23, TIM1_BRK_TIM15 = 24, TIM1_UP_TIM16 = 25, TIM1_TRG_COM_TIM17 = 26, TIM1_CC = 27, TIM2 = 28, TIM3 = 29, TIM4 = 30, I2C1_EV = 31, I2C1_ER = 32, I2C2_EV = 33, I2C2_ER = 34, SPI1 = 35, SPI2 = 36, USART1 = 37, USART2 = 38, USART3 = 39, EXTI15_10 = 40, RTC_ALARM = 41, USBWAKEUP = 42, TIM8_BRK = 43, TIM8_UP = 44, TIM8_TRG_COM = 45, TIM8_CC = 46, ADC3 = 47, FMC = 48, LPTIM1 = 49, TIM5 = 50, SPI3 = 51, UART4 = 52, UART5 = 53, TIM6_DAC = 54, TIM7_DAC = 55, DMA2_CHANNEL1 = 56, DMA2_CHANNEL2 = 57, DMA2_CHANNEL3 = 58, DMA2_CHANNEL4 = 59, DMA2_CHANNEL5 = 60, ADC4 = 61, ADC5 = 62, UCPD1 = 63, COMP1_2_3 = 64, COMP4_5_6 = 65, COMP7 = 66, CRS = 75, SAI1 = 76, TIM20_BRK = 77, TIM20_UP = 78, TIM20_TRG_COM = 79, TIM20_CC = 80, FPU = 81, I2C4_EV = 82, I2C4_ER = 83, SPI4 = 84, AES = 85, FDCAN2_IT0 = 86, FDCAN2_IT1 = 87, FDCAN3_IT0 = 88, FDCAN3_IT1 = 89, RNG = 90, LPUART1 = 91, I2C3_EV = 92, I2C3_ER = 93, DMAMUX_OVR = 94, QUADSPI = 95, DMA1_CHANNEL8 = 96, DMA2_CHANNEL6 = 97, DMA2_CHANNEL7 = 98, DMA2_CHANNEL8 = 99, CORDIC = 100, FMAC = 101,
}

Variantsยง

ยง

WWDG = 0

0 - WWDG

ยง

PVD_PVM = 1

1 - PVD_PVM

ยง

RTC_TAMP_LSECSS = 2

2 - RTC_TAMP_LSECSS

ยง

RTC_WKUP = 3

3 - RTC_WKUP

ยง

FLASH = 4

4 - FLASH

ยง

RCC = 5

5 - RCC

ยง

EXTI0 = 6

6 - EXTI0

ยง

EXTI1 = 7

7 - EXTI1

ยง

EXTI2 = 8

8 - EXTI2

ยง

EXTI3 = 9

9 - EXTI3

ยง

EXTI4 = 10

10 - EXTI4

ยง

DMA1_CHANNEL1 = 11

11 - DMA1_CHANNEL1

ยง

DMA1_CHANNEL2 = 12

12 - DMA1_CHANNEL2

ยง

DMA1_CHANNEL3 = 13

13 - DMA1_CHANNEL3

ยง

DMA1_CHANNEL4 = 14

14 - DMA1_CHANNEL4

ยง

DMA1_CHANNEL5 = 15

15 - DMA1_CHANNEL5

ยง

DMA1_CHANNEL6 = 16

16 - DMA1_CHANNEL6

ยง

DMA1_CHANNEL7 = 17

17 - DMA1_CHANNEL7

ยง

ADC1_2 = 18

18 - ADC1_2

ยง

USB_HP = 19

19 - USB_HP

ยง

USB_LP = 20

20 - USB_LP

ยง

FDCAN1_IT0 = 21

21 - FDCAN1_IT0

ยง

FDCAN1_IT1 = 22

22 - FDCAN1_IT1

ยง

EXTI9_5 = 23

23 - EXTI9_5

ยง

TIM1_BRK_TIM15 = 24

24 - TIM1_BRK_TIM15

ยง

TIM1_UP_TIM16 = 25

25 - TIM1_UP_TIM16

ยง

TIM1_TRG_COM_TIM17 = 26

26 - TIM1_TRG_COM_TIM17

ยง

TIM1_CC = 27

27 - TIM1_CC

ยง

TIM2 = 28

28 - TIM2

ยง

TIM3 = 29

29 - TIM3

ยง

TIM4 = 30

30 - TIM4

ยง

I2C1_EV = 31

31 - I2C1_EV

ยง

I2C1_ER = 32

32 - I2C1_ER

ยง

I2C2_EV = 33

33 - I2C2_EV

ยง

I2C2_ER = 34

34 - I2C2_ER

ยง

SPI1 = 35

35 - SPI1

ยง

SPI2 = 36

36 - SPI2

ยง

USART1 = 37

37 - USART1

ยง

USART2 = 38

38 - USART2

ยง

USART3 = 39

39 - USART3

ยง

EXTI15_10 = 40

40 - EXTI15_10

ยง

RTC_ALARM = 41

41 - RTC_ALARM

ยง

USBWAKEUP = 42

42 - USBWAKEUP

ยง

TIM8_BRK = 43

43 - TIM8_BRK

ยง

TIM8_UP = 44

44 - TIM8_UP

ยง

TIM8_TRG_COM = 45

45 - TIM8_TRG_COM

ยง

TIM8_CC = 46

46 - TIM8_CC

ยง

ADC3 = 47

47 - ADC3

ยง

FMC = 48

48 - FMC

ยง

LPTIM1 = 49

49 - LPTIM1

ยง

TIM5 = 50

50 - TIM5

ยง

SPI3 = 51

51 - SPI3

ยง

UART4 = 52

52 - UART4

ยง

UART5 = 53

53 - UART5

ยง

TIM6_DAC = 54

54 - TIM6_DAC

ยง

TIM7_DAC = 55

55 - TIM7_DAC

ยง

DMA2_CHANNEL1 = 56

56 - DMA2_CHANNEL1

ยง

DMA2_CHANNEL2 = 57

57 - DMA2_CHANNEL2

ยง

DMA2_CHANNEL3 = 58

58 - DMA2_CHANNEL3

ยง

DMA2_CHANNEL4 = 59

59 - DMA2_CHANNEL4

ยง

DMA2_CHANNEL5 = 60

60 - DMA2_CHANNEL5

ยง

ADC4 = 61

61 - ADC4

ยง

ADC5 = 62

62 - ADC5

ยง

UCPD1 = 63

63 - UCPD1

ยง

COMP1_2_3 = 64

64 - COMP1_2_3

ยง

COMP4_5_6 = 65

65 - COMP4_5_6

ยง

COMP7 = 66

66 - COMP7

ยง

CRS = 75

75 - CRS

ยง

SAI1 = 76

76 - SAI1

ยง

TIM20_BRK = 77

77 - TIM20_BRK

ยง

TIM20_UP = 78

78 - TIM20_UP

ยง

TIM20_TRG_COM = 79

79 - TIM20_TRG_COM

ยง

TIM20_CC = 80

80 - TIM20_CC

ยง

FPU = 81

81 - FPU

ยง

I2C4_EV = 82

82 - I2C4_EV

ยง

I2C4_ER = 83

83 - I2C4_ER

ยง

SPI4 = 84

84 - SPI4

ยง

AES = 85

85 - AES

ยง

FDCAN2_IT0 = 86

86 - FDCAN2_IT0

ยง

FDCAN2_IT1 = 87

87 - FDCAN2_IT1

ยง

FDCAN3_IT0 = 88

88 - FDCAN3_IT0

ยง

FDCAN3_IT1 = 89

89 - FDCAN3_IT1

ยง

RNG = 90

90 - RNG

ยง

LPUART1 = 91

91 - LPUART1

ยง

I2C3_EV = 92

92 - I2C3_EV

ยง

I2C3_ER = 93

93 - I2C3_ER

ยง

DMAMUX_OVR = 94

94 - DMAMUX_OVR

ยง

QUADSPI = 95

95 - QUADSPI

ยง

DMA1_CHANNEL8 = 96

96 - DMA1_CHANNEL8

ยง

DMA2_CHANNEL6 = 97

97 - DMA2_CHANNEL6

ยง

DMA2_CHANNEL7 = 98

98 - DMA2_CHANNEL7

ยง

DMA2_CHANNEL8 = 99

99 - DMA2_CHANNEL8

ยง

CORDIC = 100

100 - CORDIC

ยง

FMAC = 101

101 - FMAC

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.