pub enum Interrupt {
Show 28 variants WWDG, PVD, RTC, FLASH, RCC, EXTI0_1, EXTI2_3, EXTI4_15, DMA1_CH1, DMA1_CH2_3, DMA1_CH4_5, ADC, TIM1_BRK_UP_TRG_COM, TIM1_CC, TIM3, TIM6, TIM14, TIM15, TIM16, TIM17, I2C1, I2C2, SPI1, SPI2, USART1, USART2, USART3_4_5_6, USB,
}
Expand description

Enumeration of all the interrupts

Variants

WWDG

0 - Window Watchdog interrupt

PVD

1 - PVD and VDDIO2 supply comparator interrupt

RTC

2 - RTC interrupts

FLASH

3 - Flash global interrupt

RCC

4 - RCC global interruptr

EXTI0_1

5 - EXTI Line[1:0] interrupts

EXTI2_3

6 - EXTI Line[3:2] interrupts

EXTI4_15

7 - EXTI Line15 and EXTI4 interrupts

DMA1_CH1

9 - DMA1 channel 1 interrupt

DMA1_CH2_3

10 - DMA1 channel 2 and 3 interrupt

DMA1_CH4_5

11 - DMA1 channel 4 and 5 interrupt

ADC

12 - ADC interrupt

TIM1_BRK_UP_TRG_COM

13 - TIM1 break, update, trigger and commutation interrupt

TIM1_CC

14 - TIM1 Capture Compare interrupt

TIM3

16 - TIM3 global interrupt

TIM6

17 - TIM6 global interrupt

TIM14

19 - TIM14 global interrupt

TIM15

20 - TIM15 global interrupt

TIM16

21 - TIM16 global interrupt

TIM17

22 - TIM17 global interrupt

I2C1

23 - I2C1 global interrupt

I2C2

24 - I2C2 global interrupt

SPI1

25 - SPI1_global_interrupt

SPI2

26 - SPI2 global interrupt

USART1

27 - USART1 global interrupt

USART2

28 - USART2 global interrupt

USART3_4_5_6

29 - USART3, USART4, USART5, USART6 global interrupt

USB

31 - USB global interrupt

Trait Implementations

Returns the number associated with an interrupt

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.

Should always be Self
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.