embassy-stm32

Crates

git

Versions

stm32wl55cc-cm4

Flavors

embassy_stm32::interrupt

Enum Interrupt

pub enum Interrupt {
Show 62 variants WWDG = 0, PVD_PVM = 1, TAMP_STAMP_LSECSS_SSRU = 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, ADC = 18, DAC = 19, C2SEV_PWR_C2H = 20, COMP = 21, EXTI9_5 = 22, TIM1_BRK = 23, TIM1_UP = 24, TIM1_TRG_COM = 25, TIM1_CC = 26, TIM2 = 27, TIM16 = 28, TIM17 = 29, I2C1_EV = 30, I2C1_ER = 31, I2C2_EV = 32, I2C2_ER = 33, SPI1 = 34, SPI2 = 35, USART1 = 36, USART2 = 37, LPUART1 = 38, LPTIM1 = 39, LPTIM2 = 40, EXTI15_10 = 41, RTC_ALARM = 42, LPTIM3 = 43, SUBGHZSPI = 44, IPCC_C1_RX = 45, IPCC_C1_TX = 46, HSEM = 47, I2C3_EV = 48, I2C3_ER = 49, SUBGHZ_RADIO = 50, AES = 51, RNG = 52, PKA = 53, DMA2_CHANNEL1 = 54, DMA2_CHANNEL2 = 55, DMA2_CHANNEL3 = 56, DMA2_CHANNEL4 = 57, DMA2_CHANNEL5 = 58, DMA2_CHANNEL6 = 59, DMA2_CHANNEL7 = 60, DMAMUX1_OVR = 61,
}

Variants§

§

WWDG = 0

0 - WWDG

§

PVD_PVM = 1

1 - PVD_PVM

§

TAMP_STAMP_LSECSS_SSRU = 2

2 - TAMP_STAMP_LSECSS_SSRU

§

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

§

ADC = 18

18 - ADC

§

DAC = 19

19 - DAC

§

C2SEV_PWR_C2H = 20

20 - C2SEV_PWR_C2H

§

COMP = 21

21 - COMP

§

EXTI9_5 = 22

22 - EXTI9_5

§

TIM1_BRK = 23

23 - TIM1_BRK

§

TIM1_UP = 24

24 - TIM1_UP

§

TIM1_TRG_COM = 25

25 - TIM1_TRG_COM

§

TIM1_CC = 26

26 - TIM1_CC

§

TIM2 = 27

27 - TIM2

§

TIM16 = 28

28 - TIM16

§

TIM17 = 29

29 - TIM17

§

I2C1_EV = 30

30 - I2C1_EV

§

I2C1_ER = 31

31 - I2C1_ER

§

I2C2_EV = 32

32 - I2C2_EV

§

I2C2_ER = 33

33 - I2C2_ER

§

SPI1 = 34

34 - SPI1

§

SPI2 = 35

35 - SPI2

§

USART1 = 36

36 - USART1

§

USART2 = 37

37 - USART2

§

LPUART1 = 38

38 - LPUART1

§

LPTIM1 = 39

39 - LPTIM1

§

LPTIM2 = 40

40 - LPTIM2

§

EXTI15_10 = 41

41 - EXTI15_10

§

RTC_ALARM = 42

42 - RTC_ALARM

§

LPTIM3 = 43

43 - LPTIM3

§

SUBGHZSPI = 44

44 - SUBGHZSPI

§

IPCC_C1_RX = 45

45 - IPCC_C1_RX

§

IPCC_C1_TX = 46

46 - IPCC_C1_TX

§

HSEM = 47

47 - HSEM

§

I2C3_EV = 48

48 - I2C3_EV

§

I2C3_ER = 49

49 - I2C3_ER

§

SUBGHZ_RADIO = 50

50 - SUBGHZ_RADIO

§

AES = 51

51 - AES

§

RNG = 52

52 - RNG

§

PKA = 53

53 - PKA

§

DMA2_CHANNEL1 = 54

54 - DMA2_CHANNEL1

§

DMA2_CHANNEL2 = 55

55 - DMA2_CHANNEL2

§

DMA2_CHANNEL3 = 56

56 - DMA2_CHANNEL3

§

DMA2_CHANNEL4 = 57

57 - DMA2_CHANNEL4

§

DMA2_CHANNEL5 = 58

58 - DMA2_CHANNEL5

§

DMA2_CHANNEL6 = 59

59 - DMA2_CHANNEL6

§

DMA2_CHANNEL7 = 60

60 - DMA2_CHANNEL7

§

DMAMUX1_OVR = 61

61 - DMAMUX1_OVR

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.