Enum Interrupt
pub enum Interrupt {
Show 48 variants
WWDG = 16,
PVD = 17,
TAMPER = 18,
RTC = 19,
FLASH = 20,
RCC = 21,
EXTI0 = 22,
EXTI1 = 23,
EXTI2 = 24,
EXTI3 = 25,
EXTI4 = 26,
DMA1_CHANNEL1 = 27,
DMA1_CHANNEL2 = 28,
DMA1_CHANNEL3 = 29,
DMA1_CHANNEL4 = 30,
DMA1_CHANNEL5 = 31,
DMA1_CHANNEL6 = 32,
DMA1_CHANNEL7 = 33,
ADC = 34,
USB_HP_CAN1_TX = 35,
USB_LP_CAN1_RX0 = 36,
CAN1_RX1 = 37,
CAN1_SCE = 38,
EXTI9_5 = 39,
TIM1_BRK = 40,
TIM1_UP = 41,
TIM1_TRG_COM = 42,
TIM1_CC = 43,
TIM2 = 44,
TIM3 = 45,
TIM4 = 46,
I2C1_EV = 47,
I2C1_ER = 48,
I2C2_EV = 49,
I2C2_ER = 50,
SPI1 = 51,
SPI2 = 52,
USART1 = 53,
USART2 = 54,
USART3 = 55,
EXTI15_10 = 56,
RTC_ALARM = 57,
USB_WKUP = 58,
USBHD = 59,
USBHD_WKUP = 60,
UART4 = 61,
DMA1_CHANNEL8 = 62,
OTG_FS = 83,
}Variants§
WWDG = 16
16 - WWDG
PVD = 17
17 - PVD
TAMPER = 18
18 - TAMPER
RTC = 19
19 - RTC
FLASH = 20
20 - FLASH
RCC = 21
21 - RCC
EXTI0 = 22
22 - EXTI0
EXTI1 = 23
23 - EXTI1
EXTI2 = 24
24 - EXTI2
EXTI3 = 25
25 - EXTI3
EXTI4 = 26
26 - EXTI4
DMA1_CHANNEL1 = 27
27 - DMA1_CHANNEL1
DMA1_CHANNEL2 = 28
28 - DMA1_CHANNEL2
DMA1_CHANNEL3 = 29
29 - DMA1_CHANNEL3
DMA1_CHANNEL4 = 30
30 - DMA1_CHANNEL4
DMA1_CHANNEL5 = 31
31 - DMA1_CHANNEL5
DMA1_CHANNEL6 = 32
32 - DMA1_CHANNEL6
DMA1_CHANNEL7 = 33
33 - DMA1_CHANNEL7
ADC = 34
34 - ADC
USB_HP_CAN1_TX = 35
35 - USB_HP_CAN1_TX
USB_LP_CAN1_RX0 = 36
36 - USB_LP_CAN1_RX0
CAN1_RX1 = 37
37 - CAN1_RX1
CAN1_SCE = 38
38 - CAN1_SCE
EXTI9_5 = 39
39 - EXTI9_5
TIM1_BRK = 40
40 - TIM1_BRK
TIM1_UP = 41
41 - TIM1_UP
TIM1_TRG_COM = 42
42 - TIM1_TRG_COM
TIM1_CC = 43
43 - TIM1_CC
TIM2 = 44
44 - TIM2
TIM3 = 45
45 - TIM3
TIM4 = 46
46 - TIM4
I2C1_EV = 47
47 - I2C1_EV
I2C1_ER = 48
48 - I2C1_ER
I2C2_EV = 49
49 - I2C2_EV
I2C2_ER = 50
50 - I2C2_ER
SPI1 = 51
51 - SPI1
SPI2 = 52
52 - SPI2
USART1 = 53
53 - USART1
USART2 = 54
54 - USART2
USART3 = 55
55 - USART3
EXTI15_10 = 56
56 - EXTI15_10
RTC_ALARM = 57
57 - RTC_ALARM
USB_WKUP = 58
58 - USB_WKUP
USBHD = 59
59 - USBHD
USBHD_WKUP = 60
60 - USBHD_WKUP
UART4 = 61
61 - UART4
DMA1_CHANNEL8 = 62
62 - DMA1_CHANNEL8
OTG_FS = 83
83 - OTG_FS
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