Interrupt

Enum Interrupt 

Source
#[repr(u16)]
pub enum Interrupt {
Show 75 variants WWDG = 0, 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_CH0 = 27, GPDMA1_CH1 = 28, GPDMA1_CH2 = 29, GPDMA1_CH3 = 30, GPDMA1_CH4 = 31, GPDMA1_CH5 = 32, GPDMA1_CH6 = 33, GPDMA1_CH7 = 34, IWDG = 35, ADC1 = 37, DAC1 = 38, FDCAN1_IT0 = 39, FDCAN1_IT1 = 40, TIM1_BRK_TERR_IERR = 41, TIM1_UP = 42, TIM1_TRG_COM_DIR_IDX = 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_FS = 74, CRS = 75, GPDMA2_CH0 = 90, GPDMA2_CH1 = 91, GPDMA2_CH2 = 92, GPDMA2_CH3 = 93, GPDMA2_CH4 = 94, GPDMA2_CH5 = 95, GPDMA2_CH6 = 96, GPDMA2_CH7 = 97, ICACHE = 104, DTS_WKUP = 113, RNG = 114, HASH = 117, I3C1_EV = 123, I3C1_ER = 124, I3C2_EV = 131, I3C2_ER = 132, COMP = 133,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

WWDG = 0

0 - Window Watchdog interrupt

§

RTC = 2

2 - RTC global interrupt

§

TAMP = 4

4 - TAMP global interrupt

§

RAMCFG = 5

5 - RAM configuration global interrupt

§

FLASH = 6

6 - FLASH non-secure global interrupt

§

RCC = 9

9 - RCC global interrupt

§

EXTI0 = 11

11 - EXTI Line0 interrupt

§

EXTI1 = 12

12 - EXTI Line1 interrupt

§

EXTI2 = 13

13 - EXTI Line2 interrupt

§

EXTI3 = 14

14 - EXTI Line3 interrupt

§

EXTI4 = 15

15 - EXTI Line4 interrupt

§

EXTI5 = 16

16 - EXTI Line5 interrupt

§

EXTI6 = 17

17 - EXTI Line6 interrupt

§

EXTI7 = 18

18 - EXTI Line7 interrupt

§

EXTI8 = 19

19 - EXTI Line8 interrupt

§

EXTI9 = 20

20 - EXTI Line9 interrupt

§

EXTI10 = 21

21 - EXTI Line10 interrupt

§

EXTI11 = 22

22 - EXTI Line11 interrupt

§

EXTI12 = 23

23 - EXTI Line12 interrupt

§

EXTI13 = 24

24 - EXTI Line13 interrupt

§

EXTI14 = 25

25 - EXTI Line14 interrupt

§

EXTI15 = 26

26 - EXTI Line15 interrupt

§

GPDMA1_CH0 = 27

27 - GPDMA1 channel 0 global interrupt

§

GPDMA1_CH1 = 28

28 - GPDMA1 channel 1 global interrupt

§

GPDMA1_CH2 = 29

29 - GPDMA1 channel 2 global interrupt

§

GPDMA1_CH3 = 30

30 - GPDMA1 channel 3 global interrupt

§

GPDMA1_CH4 = 31

31 - GPDMA1 channel 4 global interrupt

§

GPDMA1_CH5 = 32

32 - GPDMA1 channel 5 global interrupt

§

GPDMA1_CH6 = 33

33 - GPDMA1 channel 6 global interrupt

§

GPDMA1_CH7 = 34

34 - GPDMA1 channel 7 global interrupt

§

IWDG = 35

35 - IWDG interrupt

§

ADC1 = 37

37 - ADC1 global interrupt

§

DAC1 = 38

38 - DAC1 global interrupt

§

FDCAN1_IT0 = 39

39 - FDCAN1 interrupt 0

§

FDCAN1_IT1 = 40

40 - FDCAN1 interrupt 1

§

TIM1_BRK_TERR_IERR = 41

41 - TIM1 break/TIM1 transition error/TIM1 index error

§

TIM1_UP = 42

42 - TIM1 Update

§

TIM1_TRG_COM_DIR_IDX = 43

43 - TIM1 trigger and commutation/TIM1 direction change interrupt/TIM1 index

§

TIM1_CC = 44

44 - TIM1 capture compare interrupt

§

TIM2 = 45

45 - TIM2 global interrupt

§

TIM3 = 46

46 - TIM3 global interrupt

§

TIM6 = 49

49 - TIM6 global interrupt

§

TIM7 = 50

50 - TIM7 global interrupt

§

I2C1_EV = 51

51 - I2C1 event interrupt

§

I2C1_ER = 52

52 - I2C1 error interrupt

§

I2C2_EV = 53

53 - I2C2 event interrupt

§

I2C2_ER = 54

54 - I2C2 error interrupt

§

SPI1 = 55

55 - SPI1 global interrupt

§

SPI2 = 56

56 - SPI2 global interrupt

§

SPI3 = 57

57 - SPI3 global interrupt

§

USART1 = 58

58 - USART1 global interrupt

§

USART2 = 59

59 - USART2 global interrupt

§

USART3 = 60

60 - USART3 global interrupt

§

LPUART1 = 63

63 - LPUART1 global interrupt

§

LPTIM1 = 64

64 - LPTIM1 global interrupt

§

LPTIM2 = 70

70 - LPTIM2 global interrupt

§

USB_FS = 74

74 - USB OTG FS global interrupt

§

CRS = 75

75 - Clock Recovery System global interrupt

§

GPDMA2_CH0 = 90

90 - GPDMA2 channel 0 global interrupt

§

GPDMA2_CH1 = 91

91 - GPDMA2 channel 1 global interrupt

§

GPDMA2_CH2 = 92

92 - GPDMA2 channel 2 global interrupt

§

GPDMA2_CH3 = 93

93 - GPDMA2 channel 3 global interrupt

§

GPDMA2_CH4 = 94

94 - GPDMA2 channel 4 global interrupt

§

GPDMA2_CH5 = 95

95 - GPDMA2 channel 5 global interrupt

§

GPDMA2_CH6 = 96

96 - GPDMA2 channel 6 global interrupt

§

GPDMA2_CH7 = 97

97 - GPDMA2 channel 7 global interrupt

§

ICACHE = 104

104 - Instruction cache global interrupt

§

DTS_WKUP = 113

113 - DTS interrupt or DTS AIT through EXTI line

§

RNG = 114

114 - RNG global interrupt

§

HASH = 117

117 - HASH interrupt

§

I3C1_EV = 123

123 - I3C1 event interrupt

§

I3C1_ER = 124

124 - I3C1 error interrupt

§

I3C2_EV = 131

131 - I3C2 event interrupt

§

I3C2_ER = 132

132 - I3C2 error interrupt

§

COMP = 133

133 - COMP global interrupt

Trait Implementations§

Source§

impl Clone for Interrupt

Source§

fn clone(&self) -> Interrupt

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Interrupt

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Format for Interrupt

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl InterruptNumber for Interrupt

Source§

fn number(self) -> u16

Return the interrupt number associated with this variant. Read more
Source§

impl PartialEq for Interrupt

Source§

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.
Source§

impl Copy for Interrupt

Source§

impl Eq for Interrupt

Source§

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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>,

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.