Enum stm32_metapac::Interrupt
pub enum Interrupt {
Show 21 variants
WWDG = 0,
RTC = 2,
FLASH = 3,
RCC = 4,
EXTI0_1 = 5,
EXTI2_3 = 6,
EXTI4_15 = 7,
DMA1_CHANNEL1 = 9,
DMA1_CHANNEL2_3 = 10,
DMA1_CHANNEL4_5 = 11,
ADC1 = 12,
TIM1_BRK_UP_TRG_COM = 13,
TIM1_CC = 14,
TIM2 = 15,
TIM3 = 16,
TIM14 = 19,
TIM16 = 21,
TIM17 = 22,
I2C1 = 23,
SPI1 = 25,
USART1 = 27,
}
Variants§
WWDG = 0
0 - WWDG
RTC = 2
2 - RTC
FLASH = 3
3 - FLASH
RCC = 4
4 - RCC
EXTI0_1 = 5
5 - EXTI0_1
EXTI2_3 = 6
6 - EXTI2_3
EXTI4_15 = 7
7 - EXTI4_15
DMA1_CHANNEL1 = 9
9 - DMA1_CHANNEL1
DMA1_CHANNEL2_3 = 10
10 - DMA1_CHANNEL2_3
DMA1_CHANNEL4_5 = 11
11 - DMA1_CHANNEL4_5
ADC1 = 12
12 - ADC1
TIM1_BRK_UP_TRG_COM = 13
13 - TIM1_BRK_UP_TRG_COM
TIM1_CC = 14
14 - TIM1_CC
TIM2 = 15
15 - TIM2
TIM3 = 16
16 - TIM3
TIM14 = 19
19 - TIM14
TIM16 = 21
21 - TIM16
TIM17 = 22
22 - TIM17
I2C1 = 23
23 - I2C1
SPI1 = 25
25 - SPI1
USART1 = 27
27 - USART1
Trait Implementations§
§impl InterruptNumber for Interrupt
impl InterruptNumber for Interrupt
impl Copy for Interrupt
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)