#[repr(u16)]
pub enum Interrupt {
Show 63 variants WWDG, PVD, RTC_TAMP, RTC_WKUP, FLASH, RCC, EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, DMA1_CHANNEL1, DMA1_CHANNEL2, DMA1_CHANNEL3, DMA1_CHANNEL4, DMA1_CHANNEL5, DMA1_CHANNEL6, DMA1_CHANNEL7, ADC1, USB_HP, USB_LP, C2SEV, COMP, EXTI9_5, TIM1_BRK, TIM1_UP, TIM1_TRG_COM_TIM17, TIM1_CC, TIM2, PKA, I2C1_EV, I2C1_ER, I2C3_EV, I2C3_ER, SPI1, SPI2, USART1, LPUART1, SAI1, TSC, EXTI15_10, RTC_ALARM, CRS_IT, PWR_SOTF, IPCC_C1_RX_IT, IPCC_C1_TX_IT, HSEM, LPTIM1, LPTIM2, LCD, QUADSPI, AES1, AES2, TRUE_RNG, FPU, DMA2_CH1, DMA2_CH2, DMA2_CH3, DMA2_CH4, DMA2_CH5, DMA2_CH6, DMA2_CH7, DMAMUX_OVR,
}
Expand description

Enumeration of all the interrupts.

Variants

WWDG

0 - Window Watchdog interrupt

PVD

1 - PVD through EXTI[16] (C1IMR2[20])

RTC_TAMP

2 - RTC/TAMP/CSS on LSE through EXTI line 19 interrupt

RTC_WKUP

3 - RTC wakeup interrupt through EXTI[19]

FLASH

4 - Flash global interrupt

RCC

5 - RCC global interrupt

EXTI0

6 - EXTI line 0 interrupt through EXTI[0]

EXTI1

7 - EXTI line 0 interrupt through EXTI[1]

EXTI2

8 - EXTI line 0 interrupt through EXTI[2]

EXTI3

9 - EXTI line 0 interrupt through EXTI[3]

EXTI4

10 - EXTI line 0 interrupt through EXTI[4]

DMA1_CHANNEL1

11 - DMA1 Channel1 global interrupt

DMA1_CHANNEL2

12 - DMA1 Channel2 global interrupt

DMA1_CHANNEL3

13 - DMA1 Channel3 interrupt

DMA1_CHANNEL4

14 - DMA1 Channel4 interrupt

DMA1_CHANNEL5

15 - DMA1 Channel5 interrupt

DMA1_CHANNEL6

16 - DMA1 Channel6 interrupt

DMA1_CHANNEL7

17 - DMA1 Channel 7 interrupt

ADC1

18 - ADC1 global interrupt

USB_HP

19 - USB high priority interrupt

USB_LP

20 - USB low priority interrupt (including USB wakeup)

C2SEV

21 - CPU2 SEV through EXTI[40]

COMP

22 - COMP2 & COMP1 interrupt through AIEC[21:20]

EXTI9_5

23 - EXTI line [9:5] interrupt through EXTI[9:5]

TIM1_BRK

24 - Timer 1 break interrupt

TIM1_UP

25 - Timer 1 Update

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

PKA

29 - Private key accelerator interrupt

I2C1_EV

30 - I2C1 event interrupt

I2C1_ER

31 - I2C1 error interrupt

I2C3_EV

32 - I2C3 event interrupt

I2C3_ER

33 - I2C3 error interrupt

SPI1

34 - SPI 1 global interrupt

SPI2

35 - SPI1 global interrupt

USART1

36 - USART1 global interrupt

LPUART1

37 - LPUART1 global interrupt

SAI1

38 - SAI1 global interrupt

TSC

39 - TSC global interrupt

EXTI15_10

40 - EXTI line [15:10] interrupt through EXTI[15:10]

RTC_ALARM

41 - RTC Alarms (A and B) interrupt through AIEC

CRS_IT

42 - CRS interrupt

PWR_SOTF

43 - PWR switching on the fly interrupt

IPCC_C1_RX_IT

44 - IPCC CPU1 RX occupied interrupt

IPCC_C1_TX_IT

45 - IPCC CPU1 TX free interrupt

HSEM

46 - Semaphore interrupt 0 to CPU1

LPTIM1

47 - LPtimer 1 global interrupt

LPTIM2

48 - LPtimer 2 global interrupt

LCD

49 - LCD global interrupt

QUADSPI

50 - QSPI global interrupt

AES1

51 - AES1 global interrupt

AES2

52 - AES2 global interrupt

TRUE_RNG

53 - True random number generator interrupt

FPU

54 - Floating point unit interrupt

DMA2_CH1

55 - DMA2 channel 1 interrupt

DMA2_CH2

56 - DMA2 channel 2 interrupt

DMA2_CH3

57 - DMA2 channel 3 interrupt

DMA2_CH4

58 - DMA2 channel 4 interrupt

DMA2_CH5

59 - DMA2 channel 5 interrupt

DMA2_CH6

60 - DMA2 channel 6 interrupt

DMA2_CH7

61 - DMA2 channel 7 interrupt

DMAMUX_OVR

62 - DMAMUX overrun 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.