Enum Interrupt
pub enum Interrupt {
Show 32 variants
WWDG = 0,
PVD_VDDIO2 = 1,
RTC_TAMP = 2,
FLASH = 3,
RCC_CRS = 4,
EXTI0_1 = 5,
EXTI2_3 = 6,
EXTI4_15 = 7,
USB_UCPD1_2 = 8,
DMA1_CHANNEL1 = 9,
DMA1_CHANNEL2_3 = 10,
DMA1_CH4_7_DMA2_CH1_5_DMAMUX1_OVR = 11,
ADC1_COMP = 12,
TIM1_BRK_UP_TRG_COM = 13,
TIM1_CC = 14,
TIM2 = 15,
TIM3_TIM4 = 16,
TIM6_DAC_LPTIM1 = 17,
TIM7_LPTIM2 = 18,
TIM14 = 19,
TIM15 = 20,
TIM16_FDCAN_IT0 = 21,
TIM17_FDCAN_IT1 = 22,
I2C1 = 23,
I2C2_3 = 24,
SPI1 = 25,
SPI2_3 = 26,
USART1 = 27,
USART2_LPUART2 = 28,
USART3_4_5_6_LPUART1 = 29,
CEC = 30,
AES_RNG = 31,
}
Variants§
WWDG = 0
0 - WWDG
PVD_VDDIO2 = 1
1 - PVD_VDDIO2
RTC_TAMP = 2
2 - RTC_TAMP
FLASH = 3
3 - FLASH
RCC_CRS = 4
4 - RCC_CRS
EXTI0_1 = 5
5 - EXTI0_1
EXTI2_3 = 6
6 - EXTI2_3
EXTI4_15 = 7
7 - EXTI4_15
USB_UCPD1_2 = 8
8 - USB_UCPD1_2
DMA1_CHANNEL1 = 9
9 - DMA1_CHANNEL1
DMA1_CHANNEL2_3 = 10
10 - DMA1_CHANNEL2_3
DMA1_CH4_7_DMA2_CH1_5_DMAMUX1_OVR = 11
11 - DMA1_CH4_7_DMA2_CH1_5_DMAMUX1_OVR
ADC1_COMP = 12
12 - ADC1_COMP
TIM1_BRK_UP_TRG_COM = 13
13 - TIM1_BRK_UP_TRG_COM
TIM1_CC = 14
14 - TIM1_CC
TIM2 = 15
15 - TIM2
TIM3_TIM4 = 16
16 - TIM3_TIM4
TIM6_DAC_LPTIM1 = 17
17 - TIM6_DAC_LPTIM1
TIM7_LPTIM2 = 18
18 - TIM7_LPTIM2
TIM14 = 19
19 - TIM14
TIM15 = 20
20 - TIM15
TIM16_FDCAN_IT0 = 21
21 - TIM16_FDCAN_IT0
TIM17_FDCAN_IT1 = 22
22 - TIM17_FDCAN_IT1
I2C1 = 23
23 - I2C1
I2C2_3 = 24
24 - I2C2_3
SPI1 = 25
25 - SPI1
SPI2_3 = 26
26 - SPI2_3
USART1 = 27
27 - USART1
USART2_LPUART2 = 28
28 - USART2_LPUART2
USART3_4_5_6_LPUART1 = 29
29 - USART3_4_5_6_LPUART1
CEC = 30
30 - CEC
AES_RNG = 31
31 - AES_RNG
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§impl<T> InterruptExt for Twhere
T: InterruptNumber + Copy,
impl<T> InterruptExt for Twhere
T: InterruptNumber + Copy,
Source§fn is_enabled(self) -> bool
fn is_enabled(self) -> bool
Check if interrupt is enabled.
Source§fn is_pending(self) -> bool
fn is_pending(self) -> bool
Check if interrupt is pending.
Source§fn get_priority(self) -> Priority
fn get_priority(self) -> Priority
Get the priority of the interrupt.
Source§fn set_priority(self, prio: Priority)
fn set_priority(self, prio: Priority)
Set the interrupt priority.
Source§fn set_priority_with_cs(self, _cs: CriticalSection<'_>, prio: Priority)
fn set_priority_with_cs(self, _cs: CriticalSection<'_>, prio: Priority)
Set the interrupt priority with an already-acquired critical section Read more