pub struct Context<'a> {
pub core: Peripherals,
pub executors_size: usize,
pub device: Peripherals,
pub cs: CriticalSection<'a>,
/* private fields */
}
Expand description
Execution context
Fields§
§core: Peripherals
Core peripherals
executors_size: usize
The space used to allocate async executors in bytes.
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