#[repr(u16)]pub enum Interrupt {
Show 31 variants
WWDG = 0,
PVD = 1,
RTC = 2,
FLASH = 3,
RCC_CTC = 4,
EXTI0_1 = 5,
EXTI2_3 = 6,
EXTI4_15 = 7,
LCD = 8,
DMA1_CHANNEL1 = 9,
DMA1_CHANNEL2_3 = 10,
DMA1_CHANNEL4_5_6_7 = 11,
ADC_COMP = 12,
TIM1_BRK_UP_TRG_COM = 13,
TIM1_CC = 14,
TIM2 = 15,
TIM3 = 16,
TIM6_LPTIM1_DAC = 17,
TIM7 = 18,
TIM14 = 19,
TIM15 = 20,
TIM16 = 21,
TIM17 = 22,
I2C1 = 23,
I2C2 = 24,
SPI1 = 25,
SPI2 = 26,
USART1 = 27,
USART2 = 28,
USART3_4 = 29,
USB = 31,
}
Expand description
Enumeration of all the interrupts.
Variants§
WWDG = 0
0 - Window WatchDog Interrupt
PVD = 1
1 - PVD Interrupt through EXTI Lines 16
RTC = 2
2 - RTC Interrupt through EXTI Lines 19
FLASH = 3
3 - FLASH global Interrupt
RCC_CTC = 4
4 - RCC and CTC global Interrupts
EXTI0_1 = 5
5 - EXTI Line 0 and 1 Interrupt
EXTI2_3 = 6
6 - EXTI Line 2 and 3 Interrupt
EXTI4_15 = 7
7 - EXTI Line 4 to 15 Interrupt
LCD = 8
8 - LCD global Interrupt
DMA1_CHANNEL1 = 9
9 - DMA1 Channel 1 Interrupt
DMA1_CHANNEL2_3 = 10
10 - DMA1 Channel 2 and Channel 3 Interrupt
DMA1_CHANNEL4_5_6_7 = 11
11 - DMA1 Channel 4, 5, 6, 7 Interrupts
ADC_COMP = 12
12 - ADC and COMP Interrupt through EXTI Lines 17 and 18
TIM1_BRK_UP_TRG_COM = 13
13 - TIM1 Break, Update, Trigger and Commutation Interrupt
TIM1_CC = 14
14 - TIM1 Capture Compare Interrupt
TIM2 = 15
15 - TIM2 global Interrupt
TIM3 = 16
16 - TIM3 global Interrupt
TIM6_LPTIM1_DAC = 17
17 - TIM6, LPTIM1, DAC global Interrupts
TIM7 = 18
18 - TIM7 global Interrupt
TIM14 = 19
19 - TIM14 global Interrupt
TIM15 = 20
20 - TIM15 global Interrupt
TIM16 = 21
21 - TIM16 global Interrupt
TIM17 = 22
22 - TIM17 global Interrupt
I2C1 = 23
23 - I2C1 global Interrupt
I2C2 = 24
24 - I2C2 Event Interrupt
SPI1 = 25
25 - SPI1 global Interrupt
SPI2 = 26
26 - SPI2 global Interrupt
USART1 = 27
27 - USART1 global Interrupt
USART2 = 28
28 - USART2 global Interrupt
USART3_4 = 29
29 - USART3, 4 global Interrupts
USB = 31
31 - USB global Interrupts