Enum Interrupt
pub enum Interrupt {
Show 20 variants
CLOCK_POWER = 5,
RADIO = 8,
RNG = 9,
GPIOTE = 10,
WDT = 11,
TIMER0 = 12,
ECB = 13,
AAR_CCM = 14,
TEMP = 16,
RTC0 = 17,
IPC = 18,
SERIAL0 = 19,
EGU0 = 20,
RTC1 = 22,
TIMER1 = 24,
TIMER2 = 25,
SWI0 = 26,
SWI1 = 27,
SWI2 = 28,
SWI3 = 29,
}
Variants§
CLOCK_POWER = 5
5 - CLOCK_POWER
RADIO = 8
8 - RADIO
RNG = 9
9 - RNG
GPIOTE = 10
10 - GPIOTE
WDT = 11
11 - WDT
TIMER0 = 12
12 - TIMER0
ECB = 13
13 - ECB
AAR_CCM = 14
14 - AAR_CCM
TEMP = 16
16 - TEMP
RTC0 = 17
17 - RTC0
IPC = 18
18 - IPC
SERIAL0 = 19
19 - SERIAL0
EGU0 = 20
20 - EGU0
RTC1 = 22
22 - RTC1
TIMER1 = 24
24 - TIMER1
TIMER2 = 25
25 - TIMER2
SWI0 = 26
26 - SWI0
SWI1 = 27
27 - SWI1
SWI2 = 28
28 - SWI2
SWI3 = 29
29 - SWI3
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