Enum Interrupt
pub enum Interrupt {
Show 23 variants
WWDG = 16,
PVD = 17,
FLASH = 18,
RCC = 19,
EXTI7_0 = 20,
AWU = 21,
DMA1_CHANNEL1 = 22,
DMA1_CHANNEL2 = 23,
DMA1_CHANNEL3 = 24,
DMA1_CHANNEL4 = 25,
DMA1_CHANNEL5 = 26,
DMA1_CHANNEL6 = 27,
DMA1_CHANNEL7 = 28,
ADC = 29,
I2C1_EV = 30,
I2C1_ER = 31,
USART1 = 32,
SPI1 = 33,
TIM1_BRK = 34,
TIM1_UP = 35,
TIM1_TRG_COM = 36,
TIM1_CC = 37,
TIM2 = 38,
}Variants§
WWDG = 16
16 - WWDG
PVD = 17
17 - PVD
FLASH = 18
18 - FLASH
RCC = 19
19 - RCC
EXTI7_0 = 20
20 - EXTI7_0
AWU = 21
21 - AWU
DMA1_CHANNEL1 = 22
22 - DMA1_CHANNEL1
DMA1_CHANNEL2 = 23
23 - DMA1_CHANNEL2
DMA1_CHANNEL3 = 24
24 - DMA1_CHANNEL3
DMA1_CHANNEL4 = 25
25 - DMA1_CHANNEL4
DMA1_CHANNEL5 = 26
26 - DMA1_CHANNEL5
DMA1_CHANNEL6 = 27
27 - DMA1_CHANNEL6
DMA1_CHANNEL7 = 28
28 - DMA1_CHANNEL7
ADC = 29
29 - ADC
I2C1_EV = 30
30 - I2C1_EV
I2C1_ER = 31
31 - I2C1_ER
USART1 = 32
32 - USART1
SPI1 = 33
33 - SPI1
TIM1_BRK = 34
34 - TIM1_BRK
TIM1_UP = 35
35 - TIM1_UP
TIM1_TRG_COM = 36
36 - TIM1_TRG_COM
TIM1_CC = 37
37 - TIM1_CC
TIM2 = 38
38 - TIM2
Trait Implementations§
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 UnsafeUnpin for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬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