#[repr(u16)]
pub enum interrupt {
Show 75 variants WWDG, PVD_PVM, RTC_TAMP_STAMP, RTC_WKUP, FLASH, RCC, EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, DMA1_CH1, DMA1_CH2, DMA1_CH3, DMA1_CH4, DMA1_CH5, DMA1_CH6, DMA1_CH7, ADC1_2, CAN1_TX, CAN1_RX0, CAN1_RX1, CAN1_SCE, EXTI9_5, TIM1_BRK_TIM15, TIM1_UP_TIM16, TIM1_TRG_COM, TIM1_CC, TIM2, TIM3, I2C1_EV, I2C1_ER, I2C2_EV, I2C2_ER, SPI1, SPI2, USART1, USART2, USART3, EXTI15_10, RTC_ALARM, DFSDM1_FLT3, SDMMC1, SPI3, UART4, TIM6_DACUNDER, TIM7, DMA2_CH1, DMA2_CH2, DMA2_CH3, DMA2_CH4, DMA2_CH5, DFSDM1, DFSDM2, DFSDM1_FLT2, COMP, LPTIM1, LPTIM2, USB_FS, DMA2_CH6, DMA2_CH7, LPUART1, QUADSPI, I2C3_EV, I2C3_ER, SAI1, SWPMI1, TSC, LCD, AES, RNG, FPU, CRS, I2C4_EV, I2C4_ER,
}
Expand description

Enumeration of all the interrupts.

Variants

WWDG

0 - Window Watchdog interrupt

PVD_PVM

1 - PVD through EXTI line detection

RTC_TAMP_STAMP

2 - Tamper and TimeStamp interrupts

RTC_WKUP

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

FLASH

4 - Flash global interrupt

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

CAN1_TX

19 - CAN1 TX interrupts

CAN1_RX0

20 - CAN1 RX0 interrupts

CAN1_RX1

21 - CAN1 RX1 interrupts

CAN1_SCE

22 - CAN1 SCE interrupt

EXTI9_5

23 - EXTI Line5 to Line9 interrupts

TIM1_BRK_TIM15

24 - Timer 15 global interrupt

TIM1_UP_TIM16

25 - Timer 16 global interrupt

TIM1_TRG_COM

26 - TIM1 trigger and commutation interrupt

TIM1_CC

27 - TIM1 Capture Compare interrupt

TIM2

28 - TIM2 global interrupt

TIM3

29 - TIM3 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

DFSDM1_FLT3

42 - DFSDM1_FLT3 global interrupt

SDMMC1

49 - SDMMC global Interrupt

SPI3

51 - SPI3 global Interrupt

UART4

52 - UART4 global Interrupt

TIM6_DACUNDER

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

DFSDM1

61 - DFSDM1_FLT0 global interrupt

DFSDM2

62 - DFSDM1_FLT1 global interrupt

DFSDM1_FLT2

63 - DFSDM1_FLT2 global interrupt

COMP

64 - COMP1 and COMP2 interrupts

LPTIM1

65 - LP TIM1 interrupt

LPTIM2

66 - LP TIM2 interrupt

USB_FS

67 - USB event interrupt through EXTI

DMA2_CH6

68 - DMA2 Channel 6 global Interrupt

DMA2_CH7

69 - DMA2 Channel 7 global Interrupt

LPUART1

70 - LPUART1 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

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 unit

CRS

82 - CRS interrupt

I2C4_EV

83 - I2C4 event interrupt, wakeup through EXTI

I2C4_ER

84 - I2C4 error 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.