Enum Interrupt
pub enum Interrupt {
Show 25 variants
CLOCK_POWER = 0,
RADIO = 1,
UART0 = 2,
TWISPI0 = 3,
TWISPI1 = 4,
GPIOTE = 6,
ADC = 7,
TIMER0 = 8,
TIMER1 = 9,
TIMER2 = 10,
RTC0 = 11,
TEMP = 12,
RNG = 13,
ECB = 14,
AAR_CCM = 15,
WDT = 16,
RTC1 = 17,
QDEC = 18,
LPCOMP = 19,
SWI0 = 20,
SWI1 = 21,
SWI2 = 22,
SWI3 = 23,
SWI4 = 24,
SWI5 = 25,
}Variants§
CLOCK_POWER = 0
0 - CLOCK_POWER
RADIO = 1
1 - RADIO
UART0 = 2
2 - UART0
TWISPI0 = 3
3 - TWISPI0
TWISPI1 = 4
4 - TWISPI1
GPIOTE = 6
6 - GPIOTE
ADC = 7
7 - ADC
TIMER0 = 8
8 - TIMER0
TIMER1 = 9
9 - TIMER1
TIMER2 = 10
10 - TIMER2
RTC0 = 11
11 - RTC0
TEMP = 12
12 - TEMP
RNG = 13
13 - RNG
ECB = 14
14 - ECB
AAR_CCM = 15
15 - AAR_CCM
WDT = 16
16 - WDT
RTC1 = 17
17 - RTC1
QDEC = 18
18 - QDEC
LPCOMP = 19
19 - LPCOMP
SWI0 = 20
20 - SWI0
SWI1 = 21
21 - SWI1
SWI2 = 22
22 - SWI2
SWI3 = 23
23 - SWI3
SWI4 = 24
24 - SWI4
SWI5 = 25
25 - SWI5
Trait Implementations§
impl Copy for Interrupt
impl Eq for Interrupt
§impl InterruptNumber for Interrupt
impl InterruptNumber 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§
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