Enum Interrupt

Source
#[repr(u16)]
pub enum Interrupt {
Show 101 variants WWDG = 0, PVD_PVM = 1, RTC_TAMP_CSS_LSE = 2, RTC_WKUP = 3, FLASH = 4, RCC = 5, EXTI0 = 6, EXTI1 = 7, EXTI2 = 8, EXTI3 = 9, EXTI4 = 10, DMA1_CH1 = 11, DMA1_CH2 = 12, DMA1_CH3 = 13, DMA1_CH4 = 14, DMA1_CH5 = 15, DMA1_CH6 = 16, DMA1_CH7 = 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 = 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, USBWAKE_UP = 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_DACUNDER = 54, TIM7 = 55, DMA2_CH1 = 56, DMA2_CH2 = 57, DMA2_CH3 = 58, DMA2_CH4 = 59, DMA2_CH5 = 60, ADC4 = 61, ADC5 = 62, UCPD1 = 63, COMP1_2_3 = 64, COMP4_5_6 = 65, COMP7 = 66, HRTIM_MASTER_IRQN = 67, HRTIM_TIMA_IRQN = 68, HRTIM_TIMB_IRQN = 69, HRTIM_TIMC_IRQN = 70, HRTIM_TIMD_IRQN = 71, HRTIM_TIME_IRQN = 72, HRTIM_TIM_FLT_IRQN = 73, HRTIM_TIMF_IRQN = 74, CRS = 75, SAI = 76, TIM20_BRK = 77, TIM20_UP = 78, TIM20_TRG_COM = 79, TIM20_CC = 80, FPU = 81, I2C4_EV = 82, I2C4_ER = 83, SPI4 = 84, FDCAN2_IT0 = 86, FDCAN2_IT1 = 87, FDCAN3_IT0 = 88, FDCAN3_IT1 = 89, RNG = 90, LPUART = 91, I2C3_EV = 92, I2C3_ER = 93, DMAMUX_OVR = 94, QUADSPI = 95, DMA1_CH8 = 96, DMA2_CH6 = 97, DMA2_CH7 = 98, DMA2_CH8 = 99, CORDIC = 100, FMAC = 101,
}
Expand description

Enumeration of all the interrupts.

Variants§

§

WWDG = 0

0 - Window Watchdog interrupt

§

PVD_PVM = 1

1 - PVD through EXTI line detection

§

RTC_TAMP_CSS_LSE = 2

2 - RTC_TAMP_CSS_LSE

§

RTC_WKUP = 3

3 - RTC Wakeup timer

§

FLASH = 4

4 - FLASH

§

RCC = 5

5 - RCC global interrupt

§

EXTI0 = 6

6 - EXTI Line0 interrupt

§

EXTI1 = 7

7 - EXTI Line1 interrupt

§

EXTI2 = 8

8 - EXTI Line2 interrupt

§

EXTI3 = 9

9 - EXTI Line3 interrupt

§

EXTI4 = 10

10 - EXTI Line4 interrupt

§

DMA1_CH1 = 11

11 - DMA1 channel 1 interrupt

§

DMA1_CH2 = 12

12 - DMA1 channel 2 interrupt

§

DMA1_CH3 = 13

13 - DMA1 channel 3 interrupt

§

DMA1_CH4 = 14

14 - DMA1 channel 4 interrupt

§

DMA1_CH5 = 15

15 - DMA1 channel 5 interrupt

§

DMA1_CH6 = 16

16 - DMA1 channel 6 interrupt

§

DMA1_CH7 = 17

17 - DMA1 channel 7 interrupt

§

ADC1_2 = 18

18 - ADC1 and ADC2 global interrupt

§

USB_HP = 19

19 - USB_HP

§

USB_LP = 20

20 - USB_LP

§

FDCAN1_IT0 = 21

21 - FDCAN1 interrupt 0

§

FDCAN1_IT1 = 22

22 - FDCAN1 interrupt 1

§

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 = 26

26 - TIM1_TRG_COM/

§

TIM1_CC = 27

27 - TIM1 capture compare interrupt

§

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

§

USBWAKE_UP = 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_DACUNDER = 54

54 - TIM6_DACUNDER

§

TIM7 = 55

55 - TIM7

§

DMA2_CH1 = 56

56 - DMA2_CH1

§

DMA2_CH2 = 57

57 - DMA2_CH2

§

DMA2_CH3 = 58

58 - DMA2_CH3

§

DMA2_CH4 = 59

59 - DMA2_CH4

§

DMA2_CH5 = 60

60 - DMA2_CH5

§

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

§

HRTIM_MASTER_IRQN = 67

67 - HRTIM_Master_IRQn

§

HRTIM_TIMA_IRQN = 68

68 - HRTIM_TIMA_IRQn

§

HRTIM_TIMB_IRQN = 69

69 - HRTIM_TIMB_IRQn

§

HRTIM_TIMC_IRQN = 70

70 - HRTIM_TIMC_IRQn

§

HRTIM_TIMD_IRQN = 71

71 - HRTIM_TIMD_IRQn

§

HRTIM_TIME_IRQN = 72

72 - HRTIM_TIME_IRQn

§

HRTIM_TIM_FLT_IRQN = 73

73 - HRTIM_TIM_FLT_IRQn

§

HRTIM_TIMF_IRQN = 74

74 - HRTIM_TIMF_IRQn

§

CRS = 75

75 - CRS

§

SAI = 76

76 - SAI

§

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 - Floating point unit interrupt

§

I2C4_EV = 82

82 - I2C4_EV

§

I2C4_ER = 83

83 - I2C4_ER

§

SPI4 = 84

84 - SPI4

§

FDCAN2_IT0 = 86

86 - FDCAN2 interrupt 0

§

FDCAN2_IT1 = 87

87 - FDCAN2 interrupt 1

§

FDCAN3_IT0 = 88

88 - FDCAN3 interrupt 0

§

FDCAN3_IT1 = 89

89 - FDCAN3 interrupt 1

§

RNG = 90

90 - RNG

§

LPUART = 91

91 - LPUART

§

I2C3_EV = 92

92 - I2C3_EV

§

I2C3_ER = 93

93 - I2C3_ER

§

DMAMUX_OVR = 94

94 - DMAMUX_OVR

§

QUADSPI = 95

95 - QUADSPI

§

DMA1_CH8 = 96

96 - DMA1_CH8

§

DMA2_CH6 = 97

97 - DMA2_CH6

§

DMA2_CH7 = 98

98 - DMA2_CH7

§

DMA2_CH8 = 99

99 - DMA2_CH8

§

CORDIC = 100

100 - Cordic

§

FMAC = 101

101 - FMAC

Trait Implementations§

Source§

impl Clone for Interrupt

Source§

fn clone(&self) -> Interrupt

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

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

Formats the value using the given formatter. Read more
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§

const 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.