Enum Interrupt
pub enum Interrupt {
Show 32 variants
TZIC_ILA = 0,
PVD_PVM = 1,
RTC_LSECSS = 2,
RCC_FLASH_C1SEV = 3,
EXTI1_0 = 4,
EXTI3_2 = 5,
EXTI15_4 = 6,
ADC_COMP_DAC = 7,
DMA1_CHANNEL1_2_3 = 8,
DMA1_CHANNEL4_5_6_7 = 9,
DMA2_DMAMUX1_OVR = 10,
LPTIM1 = 11,
LPTIM2 = 12,
LPTIM3 = 13,
TIM1 = 14,
TIM2 = 15,
TIM16 = 16,
TIM17 = 17,
IPCC_C2_RX_C2_TX = 18,
HSEM = 19,
RNG = 20,
AES_PKA = 21,
I2C1 = 22,
I2C2 = 23,
I2C3 = 24,
SPI1 = 25,
SPI2 = 26,
USART1 = 27,
USART2 = 28,
LPUART1 = 29,
SUBGHZSPI = 30,
SUBGHZ_RADIO = 31,
}
Variants§
TZIC_ILA = 0
0 - TZIC_ILA
PVD_PVM = 1
1 - PVD_PVM
RTC_LSECSS = 2
2 - RTC_LSECSS
RCC_FLASH_C1SEV = 3
3 - RCC_FLASH_C1SEV
EXTI1_0 = 4
4 - EXTI1_0
EXTI3_2 = 5
5 - EXTI3_2
EXTI15_4 = 6
6 - EXTI15_4
ADC_COMP_DAC = 7
7 - ADC_COMP_DAC
DMA1_CHANNEL1_2_3 = 8
8 - DMA1_CHANNEL1_2_3
DMA1_CHANNEL4_5_6_7 = 9
9 - DMA1_CHANNEL4_5_6_7
DMA2_DMAMUX1_OVR = 10
10 - DMA2_DMAMUX1_OVR
LPTIM1 = 11
11 - LPTIM1
LPTIM2 = 12
12 - LPTIM2
LPTIM3 = 13
13 - LPTIM3
TIM1 = 14
14 - TIM1
TIM2 = 15
15 - TIM2
TIM16 = 16
16 - TIM16
TIM17 = 17
17 - TIM17
IPCC_C2_RX_C2_TX = 18
18 - IPCC_C2_RX_C2_TX
HSEM = 19
19 - HSEM
RNG = 20
20 - RNG
AES_PKA = 21
21 - AES_PKA
I2C1 = 22
22 - I2C1
I2C2 = 23
23 - I2C2
I2C3 = 24
24 - I2C3
SPI1 = 25
25 - SPI1
SPI2 = 26
26 - SPI2
USART1 = 27
27 - USART1
USART2 = 28
28 - USART2
LPUART1 = 29
29 - LPUART1
SUBGHZSPI = 30
30 - SUBGHZSPI
SUBGHZ_RADIO = 31
31 - SUBGHZ_RADIO
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
)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