[][src]Struct esp_idf_bindgen::xTASK_SNAPSHOT

#[repr(C)]pub struct xTASK_SNAPSHOT {
    pub pxTCB: *mut c_void,
    pub pxTopOfStack: *mut StackType_t,
    pub pxEndOfStack: *mut StackType_t,
    pub eState: eTaskState,
    pub xCpuId: BaseType_t,
}

Used with the uxTaskGetSnapshotAll() function to save memory snapshot of each task in the system. We need this struct because TCB_t is defined (hidden) in tasks.c.

Fields

pxTCB: *mut c_void

< Address of task control block.

pxTopOfStack: *mut StackType_t

< Points to the location of the last item placed on the tasks stack.

pxEndOfStack: *mut StackType_t

< Points to the end of the stack. pxTopOfStack < pxEndOfStack, stack grows hi2lo pxTopOfStack > pxEndOfStack, stack grows lo2hi

eState: eTaskState

< Current state of the task. Can be running or suspended

xCpuId: BaseType_t

< CPU where this task was running

Trait Implementations

impl Clone for xTASK_SNAPSHOT[src]

impl Copy for xTASK_SNAPSHOT[src]

impl Debug for xTASK_SNAPSHOT[src]

Auto Trait Implementations

impl !Send for xTASK_SNAPSHOT

impl !Sync for xTASK_SNAPSHOT

impl Unpin for xTASK_SNAPSHOT

Blanket Implementations

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

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

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

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

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

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> 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.