pub enum Interrupt {
Show 32 variants
IEL0 = 0,
IEL1 = 1,
IEL2 = 2,
IEL3 = 3,
IEL4 = 4,
IEL5 = 5,
IEL6 = 6,
IEL7 = 7,
IEL8 = 8,
IEL9 = 9,
IEL10 = 10,
IEL11 = 11,
IEL12 = 12,
IEL13 = 13,
IEL14 = 14,
IEL15 = 15,
IEL16 = 16,
IEL17 = 17,
IEL18 = 18,
IEL19 = 19,
IEL20 = 20,
IEL21 = 21,
IEL22 = 22,
IEL23 = 23,
IEL24 = 24,
IEL25 = 25,
IEL26 = 26,
IEL27 = 27,
IEL28 = 28,
IEL29 = 29,
IEL30 = 30,
IEL31 = 31,
}Variants§
IEL0 = 0
IEL0 - 0
IEL1 = 1
IEL1 - 1
IEL2 = 2
IEL2 - 2
IEL3 = 3
IEL3 - 3
IEL4 = 4
IEL4 - 4
IEL5 = 5
IEL5 - 5
IEL6 = 6
IEL6 - 6
IEL7 = 7
IEL7 - 7
IEL8 = 8
IEL8 - 8
IEL9 = 9
IEL9 - 9
IEL10 = 10
IEL10 - 10
IEL11 = 11
IEL11 - 11
IEL12 = 12
IEL12 - 12
IEL13 = 13
IEL13 - 13
IEL14 = 14
IEL14 - 14
IEL15 = 15
IEL15 - 15
IEL16 = 16
IEL16 - 16
IEL17 = 17
IEL17 - 17
IEL18 = 18
IEL18 - 18
IEL19 = 19
IEL19 - 19
IEL20 = 20
IEL20 - 20
IEL21 = 21
IEL21 - 21
IEL22 = 22
IEL22 - 22
IEL23 = 23
IEL23 - 23
IEL24 = 24
IEL24 - 24
IEL25 = 25
IEL25 - 25
IEL26 = 26
IEL26 - 26
IEL27 = 27
IEL27 - 27
IEL28 = 28
IEL28 - 28
IEL29 = 29
IEL29 - 29
IEL30 = 30
IEL30 - 30
IEL31 = 31
IEL31 - 31
Trait Implementations§
impl Copy for Interrupt
impl Eq for Interrupt
Source§impl InterruptNumber for Interrupt
impl InterruptNumber for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations§
impl Forget for Interrupt
impl Freeze for Interrupt
impl Move 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> IcuInterrupt for Twhere
T: InterruptNumber + Copy,
impl<T> IcuInterrupt for Twhere
T: InterruptNumber + Copy,
Source§fn icu_disable(&self)
fn icu_disable(&self)
Disables the interrupt in the
ICU. Does not modify its status in the NVIC.Source§unsafe fn icu_enable(&self, mask: InterruptEvent)
unsafe fn icu_enable(&self, mask: InterruptEvent)
Source§fn icu_enabled(&self) -> bool
fn icu_enabled(&self) -> bool
Returns
true if the interrupt has been linked to an InterruptEvent.Source§fn icu_event(&self) -> InterruptEvent
fn icu_event(&self) -> InterruptEvent
Returns the
InterruptEvent that the interrupt is linked to or InterruptEvent::None if none is configured.Source§fn dtc_disable(&self)
fn dtc_disable(&self)
Disables the interrupt in the
ICU and disables it as a DTC activation source. Does not modify its status in the NVIC. Read moreSource§fn dtc_enable(&self, mask: InterruptEvent)
fn dtc_enable(&self, mask: InterruptEvent)
Links an interrupt to an event and configures
DTC vector n for activation on interrupt where n is the index of this interrupt. Read moreSource§fn icu_unpend(&self)
fn icu_unpend(&self)
Source§fn icu_is_pending(&self) -> bool
fn icu_is_pending(&self) -> bool
Returns true if the interrupt is pending in the
ICU.Source§fn icu_status(&self)
fn icu_status(&self)
Logs information about how this interrupt is configured in the
ICU at the trace level.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