pub struct OsEvent;Expand description
OS_EVENT interrupt helper with methods similar to embassy-imxrt’s InterruptExt.
Implementations§
Trait Implementations§
Source§impl InterruptExt for OsEvent
impl InterruptExt for OsEvent
Source§fn set_priority(&self, priority: Priority)
fn set_priority(&self, priority: Priority)
Set NVIC priority for OS_EVENT.
Source§fn is_pending(&self) -> bool
fn is_pending(&self) -> bool
Check if OS_EVENT is pending in NVIC.
Auto Trait Implementations§
impl Freeze for OsEvent
impl RefUnwindSafe for OsEvent
impl Send for OsEvent
impl Sync for OsEvent
impl Unpin for OsEvent
impl UnwindSafe for OsEvent
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