#[repr(u16)]
pub enum Interrupt {
Show 75 variants WWDG, PVD, TAMP_STAMP, RTC_WKUP, RCC, EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, DMA1_CH1, DMA1_CH2, DMA1_CH3, DMA1_CH4, DMA1_CH5, DMA1_CH6, DMA1_CH7, ADC1_2, EXTI9_5, TIM15, TIM16, TIM1_TRG_COM_TIM17, TIM1_CC, TIM2, TIM3, TIM4, I2C1_EV, I2C1_ER, I2C2_EV, I2C2_ER, SPI1, SPI2, USART1, USART2, USART3, EXTI15_10, RTC_ALARM, DFSDM3, TIM8_BRK, TIM8, TIM8_TRG_COM, TIM8_CC, ADC3, FMC, SDMMC, TIM5, SPI3, UART4, UART5, TIM6_DAC, TIM7, DMA2_CH1, DMA2_CH2, DMA2_CH3, DMA2_CH4, DMA2_CH5, DFSDM0, DFSDM1, DFSDM2, COMP, LPTIM1, LPTIM2, DMA2_CH6, DMA2_CH7, QUADSPI, I2C3_EV, I2C3_ER, SAI1, SAI2, SWPMI1, TSC, LCD, AES, RNG, FPU,
}
Expand description

Enumeration of all the interrupts.

Variants

WWDG

0 - Window Watchdog interrupt

PVD

1 - PVD through EXTI line detection

TAMP_STAMP

2 - Tamper and TimeStamp interrupts

RTC_WKUP

3 - RTC Tamper or TimeStamp /CSS on LSE through EXTI line 19 interrupts

RCC

5 - RCC global interrupt

EXTI0

6 - EXTI Line 0 interrupt

EXTI1

7 - EXTI Line 1 interrupt

EXTI2

8 - EXTI Line 2 interrupt

EXTI3

9 - EXTI Line 3 interrupt

EXTI4

10 - EXTI Line4 interrupt

DMA1_CH1

11 - DMA1 Channel1 global interrupt

DMA1_CH2

12 - DMA1 Channel2 global interrupt

DMA1_CH3

13 - DMA1 Channel3 interrupt

DMA1_CH4

14 - DMA1 Channel4 interrupt

DMA1_CH5

15 - DMA1 Channel5 interrupt

DMA1_CH6

16 - DMA1 Channel6 interrupt

DMA1_CH7

17 - DMA1 Channel 7 interrupt

ADC1_2

18 - ADC1 and ADC2 global interrupt

EXTI9_5

23 - EXTI Line5 to Line9 interrupts

TIM15

24 - Timer 15 global interrupt

TIM16

25 - Timer 16 global interrupt

TIM1_TRG_COM_TIM17

26 - TIM1 Trigger and Commutation interrupts and TIM17 global interrupt

TIM1_CC

27 - TIM1 Capture Compare interrupt

TIM2

28 - TIM2 global interrupt

TIM3

29 - TIM3 global interrupt

TIM4

30 - TIM4 global interrupt

I2C1_EV

31 - I2C1 event interrupt

I2C1_ER

32 - I2C1 error interrupt

I2C2_EV

33 - I2C2 event interrupt

I2C2_ER

34 - I2C2 error interrupt

SPI1

35 - SPI1 global interrupt

SPI2

36 - SPI2 global interrupt

USART1

37 - USART1 global interrupt

USART2

38 - USART2 global interrupt

USART3

39 - USART3 global interrupt

EXTI15_10

40 - EXTI Lines 10 to 15 interrupts

RTC_ALARM

41 - RTC alarms through EXTI line 18 interrupts

DFSDM3

42 - SD Filter 3 global Interrupt

TIM8_BRK

43 - TIM8 Break Interrupt

TIM8

44 - TIM8 Update Interrupt

TIM8_TRG_COM

45 - TIM8 Trigger and Commutation Interrupt

TIM8_CC

46 - TIM8 Capture Compare Interrupt

ADC3

47 - ADC3 global Interrupt

FMC

48 - FMC global Interrupt

SDMMC

49 - SDMMC global Interrupt

TIM5

50 - TIM5 global Interrupt

SPI3

51 - SPI3 global Interrupt

UART4

52 - UART4 global Interrupt

UART5

53 - UART5 global Interrupt

TIM6_DAC

54 - TIM6 global and DAC1 and 2 underrun error interrupts

TIM7

55 - TIM7 global interrupt

DMA2_CH1

56 - DMA2 Channel 1 global Interrupt

DMA2_CH2

57 - DMA2 Channel 2 global Interrupt

DMA2_CH3

58 - DMA2 Channel 3 global Interrupt

DMA2_CH4

59 - DMA2 Channel 4 global Interrupt

DMA2_CH5

60 - DMA2 Channel 5 global Interrupt

DFSDM0

61 - SD Filter 0 global Interrupt

DFSDM1

62 - SD Filter 1 global Interrupt

DFSDM2

63 - SD Filter 2 global Interrupt

COMP

64 - COMP1 and COMP2 interrupts

LPTIM1

65 - LP TIM1 interrupt

LPTIM2

66 - LP TIM2 interrupt

DMA2_CH6

68 - DMA2 Channel 6 global Interrupt

DMA2_CH7

69 - DMA2 Channel 7 global Interrupt

QUADSPI

71 - Quad SPI global interrupt

I2C3_EV

72 - I2C3 event interrupt

I2C3_ER

73 - I2C3 error interrupt

SAI1

74 - SAI1 global interrupt

SAI2

75 - SAI2 global interrupt

SWPMI1

76 - SWPMI1 global interrupt

TSC

77 - TSC global interrupt

LCD

78 - LCD global interrupt

AES

79 - AES global interrupt

RNG

80 - RNG global interrupt

FPU

81 - Floating point interrupt

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Return the interrupt number associated with this variant. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.