[][src]Struct freertos_rs::InterruptContext

pub struct InterruptContext { /* fields omitted */ }

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.

Methods

impl InterruptContext[src]

pub fn new() -> InterruptContext[src]

Instantiate a new context.

pub unsafe fn get_task_field_mut(&self) -> *mut i32[src]

Trait Implementations

impl Drop for InterruptContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]