#[repr(u16)]pub enum Interrupt {
Show 32 variants
WWDG = 0,
PVD = 1,
RTC = 2,
FLASH = 3,
RCC_CRS = 4,
EXTI0_1 = 5,
EXTI2_3 = 6,
EXTI4_15 = 7,
TSC = 8,
DMA1_CH1 = 9,
DMA1_CH2_3_DMA2_CH1_2 = 10,
DMA1_CH4_5_6_7_DMA2_CH3_4_5 = 11,
ADC_COMP = 12,
TIM1_BRK_UP_TRG_COM = 13,
TIM1_CC = 14,
TIM2 = 15,
TIM3 = 16,
TIM6_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_5_6_7_8 = 29,
CEC_CAN = 30,
USB = 31,
}
Expand description
Enumeration of all the interrupts.
Variants§
WWDG = 0
0 - Window Watchdog interrupt
PVD = 1
1 - PVD and VDDIO2 supply comparator interrupt
RTC = 2
2 - RTC interrupts
FLASH = 3
3 - Flash global interrupt
RCC_CRS = 4
4 - RCC and CRS global interrupts
EXTI0_1 = 5
5 - EXTI Line[1:0] interrupts
EXTI2_3 = 6
6 - EXTI Line[3:2] interrupts
EXTI4_15 = 7
7 - EXTI Line15 and EXTI4 interrupts
TSC = 8
8 - Touch sensing interrupt
DMA1_CH1 = 9
9 - DMA1 channel 1 interrupt
DMA1_CH2_3_DMA2_CH1_2 = 10
10 - DMA1 channel 2 and 3 and DMA2 channel 1 and 2 interrupt
DMA1_CH4_5_6_7_DMA2_CH3_4_5 = 11
11 - DMA1 channel 4, 5, 6 and 7 and DMA2 channel 3, 4 and 5 interrupts
ADC_COMP = 12
12 - ADC and comparator interrupts
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_DAC = 17
17 - TIM6 global interrupt and DAC underrun interrupt
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 global 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_5_6_7_8 = 29
29 - USART3, USART4, USART5, USART6, USART7, USART8 global interrupt
CEC_CAN = 30
30 - CEC and CAN global interrupt
USB = 31
31 - USB global interrupt