pub struct Context<'a> {
pub executors_size: usize,
pub core: Peripherals,
pub device: Peripherals,
pub cs: CriticalSection<'a>,
/* private fields */
}
Expand description
Execution context
Fields§
§executors_size: usize
The space used to allocate async executors in bytes.
core: Peripherals
Core peripherals
device: Peripherals
Device peripherals (PAC)
cs: CriticalSection<'a>
Critical section token for init
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for __rtic_internal_init_Context<'a>
impl<'a> RefUnwindSafe for __rtic_internal_init_Context<'a>
impl<'a> Send for __rtic_internal_init_Context<'a>
impl<'a> !Sync for __rtic_internal_init_Context<'a>
impl<'a> Unpin for __rtic_internal_init_Context<'a>
impl<'a> UnwindSafe for __rtic_internal_init_Context<'a>
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
§impl<T, M> ForwardCompat<T, M> for T
impl<T, M> ForwardCompat<T, M> for T
§impl<T> ReverseCompat<T> for T
impl<T> ReverseCompat<T> for T
§fn reverse(self) -> Reverse<T>
fn reverse(self) -> Reverse<T>
Create an e-h-c wrapper around and e-h object Available methods depend on the wrapped type
§fn reverse_cell(self) -> Reverse<RefCell<T>>
fn reverse_cell(self) -> Reverse<RefCell<T>>
Create an e-h-c reverse compatibility wrapper using a ref-cell for interior mutability (required for InputPin types)