Enum stm32_metapac::Interrupt
pub enum Interrupt {
Show 43 variants
WWDG = 0,
PVD = 1,
TAMPER = 2,
RTC = 3,
FLASH = 4,
RCC = 5,
EXTI0 = 6,
EXTI1 = 7,
EXTI2 = 8,
EXTI3 = 9,
EXTI4 = 10,
DMA1_CHANNEL1 = 11,
DMA1_CHANNEL2 = 12,
DMA1_CHANNEL3 = 13,
DMA1_CHANNEL4 = 14,
DMA1_CHANNEL5 = 15,
DMA1_CHANNEL6 = 16,
DMA1_CHANNEL7 = 17,
ADC1_2 = 18,
USB_HP_CAN1_TX = 19,
USB_LP_CAN1_RX0 = 20,
CAN1_RX1 = 21,
CAN1_SCE = 22,
EXTI9_5 = 23,
TIM1_BRK = 24,
TIM1_UP = 25,
TIM1_TRG_COM = 26,
TIM1_CC = 27,
TIM2 = 28,
TIM3 = 29,
TIM4 = 30,
I2C1_EV = 31,
I2C1_ER = 32,
I2C2_EV = 33,
I2C2_ER = 34,
SPI1 = 35,
SPI2 = 36,
USART1 = 37,
USART2 = 38,
USART3 = 39,
EXTI15_10 = 40,
RTC_ALARM = 41,
USBWAKEUP = 42,
}
Variants§
WWDG = 0
0 - WWDG
PVD = 1
1 - PVD
TAMPER = 2
2 - TAMPER
RTC = 3
3 - RTC
FLASH = 4
4 - FLASH
RCC = 5
5 - RCC
EXTI0 = 6
6 - EXTI0
EXTI1 = 7
7 - EXTI1
EXTI2 = 8
8 - EXTI2
EXTI3 = 9
9 - EXTI3
EXTI4 = 10
10 - EXTI4
DMA1_CHANNEL1 = 11
11 - DMA1_CHANNEL1
DMA1_CHANNEL2 = 12
12 - DMA1_CHANNEL2
DMA1_CHANNEL3 = 13
13 - DMA1_CHANNEL3
DMA1_CHANNEL4 = 14
14 - DMA1_CHANNEL4
DMA1_CHANNEL5 = 15
15 - DMA1_CHANNEL5
DMA1_CHANNEL6 = 16
16 - DMA1_CHANNEL6
DMA1_CHANNEL7 = 17
17 - DMA1_CHANNEL7
ADC1_2 = 18
18 - ADC1_2
USB_HP_CAN1_TX = 19
19 - USB_HP_CAN1_TX
USB_LP_CAN1_RX0 = 20
20 - USB_LP_CAN1_RX0
CAN1_RX1 = 21
21 - CAN1_RX1
CAN1_SCE = 22
22 - CAN1_SCE
EXTI9_5 = 23
23 - EXTI9_5
TIM1_BRK = 24
24 - TIM1_BRK
TIM1_UP = 25
25 - TIM1_UP
TIM1_TRG_COM = 26
26 - TIM1_TRG_COM
TIM1_CC = 27
27 - TIM1_CC
TIM2 = 28
28 - TIM2
TIM3 = 29
29 - TIM3
TIM4 = 30
30 - TIM4
I2C1_EV = 31
31 - I2C1_EV
I2C1_ER = 32
32 - I2C1_ER
I2C2_EV = 33
33 - I2C2_EV
I2C2_ER = 34
34 - I2C2_ER
SPI1 = 35
35 - SPI1
SPI2 = 36
36 - SPI2
USART1 = 37
37 - USART1
USART2 = 38
38 - USART2
USART3 = 39
39 - USART3
EXTI15_10 = 40
40 - EXTI15_10
RTC_ALARM = 41
41 - RTC_ALARM
USBWAKEUP = 42
42 - USBWAKEUP
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