embassy-stm32

Crates

git

Versions

stm32wba54kg

Flavors

embassy_stm32::interrupt

Enum Interrupt

pub enum Interrupt {
Show 72 variants WWDG = 0, PVD = 1, RTC = 2, RTC_S = 3, TAMP = 4, RAMCFG = 5, FLASH = 6, FLASH_S = 7, GTZC = 8, RCC = 9, RCC_S = 10, 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, IWDG = 27, SAES = 28, GPDMA1_CHANNEL0 = 29, GPDMA1_CHANNEL1 = 30, GPDMA1_CHANNEL2 = 31, GPDMA1_CHANNEL3 = 32, GPDMA1_CHANNEL4 = 33, GPDMA1_CHANNEL5 = 34, GPDMA1_CHANNEL6 = 35, GPDMA1_CHANNEL7 = 36, TIM1_BRK = 37, TIM1_UP = 38, TIM1_TRG_COM = 39, TIM1_CC = 40, TIM2 = 41, TIM3 = 42, I2C1_EV = 43, I2C1_ER = 44, SPI1 = 45, USART1 = 46, USART2 = 47, LPUART1 = 48, LPTIM1 = 49, LPTIM2 = 50, TIM16 = 51, TIM17 = 52, COMP = 53, I2C3_EV = 54, I2C3_ER = 55, SAI1 = 56, TSC = 57, AES = 58, RNG = 59, FPU = 60, HASH = 61, PKA = 62, SPI3 = 63, ICACHE = 64, ADC4 = 65, RADIO = 66, WKUP = 67, HSEM = 68, HSEM_S = 69, WKUP_S = 70, RCC_AUDIOSYNC = 71,
}

Variants§

§

WWDG = 0

0 - WWDG

§

PVD = 1

1 - PVD

§

RTC = 2

2 - RTC

§

RTC_S = 3

3 - RTC_S

§

TAMP = 4

4 - TAMP

§

RAMCFG = 5

5 - RAMCFG

§

FLASH = 6

6 - FLASH

§

FLASH_S = 7

7 - FLASH_S

§

GTZC = 8

8 - GTZC

§

RCC = 9

9 - RCC

§

RCC_S = 10

10 - RCC_S

§

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

§

IWDG = 27

27 - IWDG

§

SAES = 28

28 - SAES

§

GPDMA1_CHANNEL0 = 29

29 - GPDMA1_CHANNEL0

§

GPDMA1_CHANNEL1 = 30

30 - GPDMA1_CHANNEL1

§

GPDMA1_CHANNEL2 = 31

31 - GPDMA1_CHANNEL2

§

GPDMA1_CHANNEL3 = 32

32 - GPDMA1_CHANNEL3

§

GPDMA1_CHANNEL4 = 33

33 - GPDMA1_CHANNEL4

§

GPDMA1_CHANNEL5 = 34

34 - GPDMA1_CHANNEL5

§

GPDMA1_CHANNEL6 = 35

35 - GPDMA1_CHANNEL6

§

GPDMA1_CHANNEL7 = 36

36 - GPDMA1_CHANNEL7

§

TIM1_BRK = 37

37 - TIM1_BRK

§

TIM1_UP = 38

38 - TIM1_UP

§

TIM1_TRG_COM = 39

39 - TIM1_TRG_COM

§

TIM1_CC = 40

40 - TIM1_CC

§

TIM2 = 41

41 - TIM2

§

TIM3 = 42

42 - TIM3

§

I2C1_EV = 43

43 - I2C1_EV

§

I2C1_ER = 44

44 - I2C1_ER

§

SPI1 = 45

45 - SPI1

§

USART1 = 46

46 - USART1

§

USART2 = 47

47 - USART2

§

LPUART1 = 48

48 - LPUART1

§

LPTIM1 = 49

49 - LPTIM1

§

LPTIM2 = 50

50 - LPTIM2

§

TIM16 = 51

51 - TIM16

§

TIM17 = 52

52 - TIM17

§

COMP = 53

53 - COMP

§

I2C3_EV = 54

54 - I2C3_EV

§

I2C3_ER = 55

55 - I2C3_ER

§

SAI1 = 56

56 - SAI1

§

TSC = 57

57 - TSC

§

AES = 58

58 - AES

§

RNG = 59

59 - RNG

§

FPU = 60

60 - FPU

§

HASH = 61

61 - HASH

§

PKA = 62

62 - PKA

§

SPI3 = 63

63 - SPI3

§

ICACHE = 64

64 - ICACHE

§

ADC4 = 65

65 - ADC4

§

RADIO = 66

66 - RADIO

§

WKUP = 67

67 - WKUP

§

HSEM = 68

68 - HSEM

§

HSEM_S = 69

69 - HSEM_S

§

WKUP_S = 70

70 - WKUP_S

§

RCC_AUDIOSYNC = 71

71 - RCC_AUDIOSYNC

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.