Enum stm32l0xx_hal::pac::interrupt
source · [−]#[repr(u16)]
pub enum interrupt {
Show 28 variants
WWDG,
PVD,
RTC,
FLASH,
RCC,
EXTI0_1,
EXTI2_3,
EXTI4_15,
DMA1_CHANNEL1,
DMA1_CHANNEL2_3,
DMA1_CHANNEL4_7,
ADC_COMP,
LPTIM1,
USART4_USART5,
TIM2,
TIM3,
TIM6,
TIM7,
TIM21,
I2C3,
TIM22,
I2C1,
I2C2,
SPI1,
SPI2,
USART1,
USART2,
AES_RNG_LPUART1,
}
Expand description
Enumeration of all the interrupts.
Variants
WWDG
0 - Window Watchdog interrupt
PVD
1 - PVD through EXTI line detection
RTC
2 - RTC global interrupt
FLASH
3 - Flash global interrupt
RCC
4 - RCC global interrupt
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_CHANNEL1
9 - DMA1 Channel1 global interrupt
DMA1_CHANNEL2_3
10 - DMA1 Channel2 and 3 interrupts
DMA1_CHANNEL4_7
11 - DMA1 Channel4 to 7 interrupts
ADC_COMP
12 - ADC and comparator 1 and 2
LPTIM1
13 - LPTIMER1 interrupt through EXTI29
USART4_USART5
14 - USART4/USART5 global interrupt
TIM2
15 - TIM2 global interrupt
TIM3
16 - TIM3 global interrupt
TIM6
17 - TIM6 global interrupt and DAC
TIM7
18 - TIM7 global interrupt and DAC
TIM21
20 - TIMER21 global interrupt
I2C3
21 - I2C3 global interrupt
TIM22
22 - TIMER22 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
AES_RNG_LPUART1
29 - AES global interrupt RNG global interrupt and LPUART1 global interrupt through
Trait Implementations
sourceimpl InterruptNumber for Interrupt
impl InterruptNumber for Interrupt
impl Copy for Interrupt
impl Eq for Interrupt
impl StructuralEq for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations
impl RefUnwindSafe for Interrupt
impl Send for Interrupt
impl Sync for Interrupt
impl Unpin for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more