Enum Interrupt
pub enum Interrupt {
Show 18 variants
GROUP0 = 0,
GROUP1 = 1,
TIMB0 = 2,
ADC0 = 4,
USBFS0 = 6,
UC0 = 9,
UC1 = 10,
I2S0 = 11,
NPU = 12,
UC2 = 13,
UC3 = 14,
TIMG0 = 16,
TIMG6 = 17,
TIMA0 = 18,
TIMG7 = 20,
AESADV = 28,
LFSS = 30,
DMA = 31,
}Variants§
GROUP0 = 0
GROUP1 = 1
TIMB0 = 2
ADC0 = 4
USBFS0 = 6
UC0 = 9
UC1 = 10
I2S0 = 11
NPU = 12
UC2 = 13
UC3 = 14
TIMG0 = 16
TIMG6 = 17
TIMA0 = 18
TIMG7 = 20
AESADV = 28
LFSS = 30
DMA = 31
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