pub struct InterruptContext { /* private fields */ }Expand description
Keep track of whether we need to yield the execution to a different task at the end of the interrupt.
Should be dropped as the last thing inside a interrupt.
Implementations§
Source§impl InterruptContext
impl InterruptContext
Sourcepub fn new() -> InterruptContext
pub fn new() -> InterruptContext
Instantiate a new context.
pub fn get_task_field_mut(&mut self) -> *mut BaseType_t
pub fn higher_priority_task_woken(&self) -> BaseType_t
Trait Implementations§
Source§impl Debug for InterruptContext
impl Debug for InterruptContext
Source§impl Default for InterruptContext
impl Default for InterruptContext
Source§fn default() -> InterruptContext
fn default() -> InterruptContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InterruptContext
impl RefUnwindSafe for InterruptContext
impl Send for InterruptContext
impl Sync for InterruptContext
impl Unpin for InterruptContext
impl UnwindSafe for InterruptContext
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