#[repr(u16)]pub enum Interrupt {
Show 24 variants
WWDG = 0,
PVD = 1,
RTC = 2,
FLASH = 3,
RCC = 4,
EXTI0_1 = 5,
EXTI2_3 = 6,
EXTI4_15 = 7,
DMA1_CHANNEL1 = 9,
DMA1_CHANNEL2_3 = 10,
ADC_COMP = 12,
TIM1_BRK_UP_TRG_COM = 13,
TIM1_CC = 14,
TIM3 = 16,
LPTIM1 = 17,
TIM14 = 19,
TIM16 = 21,
TIM17 = 22,
I2C1 = 23,
SPI1 = 25,
SPI2 = 26,
USART1 = 27,
USART2 = 28,
LED = 30,
}Expand description
Enumeration of all the interrupts.
Variants§
WWDG = 0
0 - WWDG interrupt
PVD = 1
1 - PVD interrupt
RTC = 2
2 - RTC interrupt
FLASH = 3
3 - FLASH interrupt
RCC = 4
4 - RCC interrupt
EXTI0_1 = 5
5 - EXTI0_1 interrupt
EXTI2_3 = 6
6 - EXTI2_3 interrupt
EXTI4_15 = 7
7 - EXTI4_15 interrupt
DMA1_CHANNEL1 = 9
9 - DMA1_CHANNEL1 interrupt
DMA1_CHANNEL2_3 = 10
10 - DMA1_CHANNEL2_3 interrupt
ADC_COMP = 12
12 - ADC_COMP interrupt
TIM1_BRK_UP_TRG_COM = 13
13 - TIM1_BRK_UP_TRG_COM interrupt
TIM1_CC = 14
14 - TIM1_CC interrupt
TIM3 = 16
16 - TIM3 interrupt
LPTIM1 = 17
17 - LPTIM1 interrupt
TIM14 = 19
19 - TIM14 interrupt
TIM16 = 21
21 - TIM16 interrupt
TIM17 = 22
22 - TIM17 interrupt
I2C1 = 23
23 - I2C1 interrupt
SPI1 = 25
25 - SPI1 interrupt
SPI2 = 26
26 - SPI2 interrupt
USART1 = 27
27 - USART1 interrupt
USART2 = 28
28 - USART2 interrupt
LED = 30
30 - LED interrupt
Trait Implementations§
impl Copy for Interrupt
impl Eq for Interrupt
Source§impl InterruptNumber for Interrupt
impl InterruptNumber for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations§
impl Freeze for Interrupt
impl RefUnwindSafe for Interrupt
impl Send for Interrupt
impl Sync for Interrupt
impl Unpin for Interrupt
impl UnsafeUnpin for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more