esp_idf_hal::sys

Type Alias TaskSnapshot_t

Source
pub type TaskSnapshot_t = xTASK_SNAPSHOT;
Expand description

@brief Task Snapshot structure

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

Aliased Type§

struct TaskSnapshot_t {
    pub pxTCB: *mut c_void,
    pub pxTopOfStack: *mut u8,
    pub pxEndOfStack: *mut u8,
}

Fields§

§pxTCB: *mut c_void

< Address of the task control block.

§pxTopOfStack: *mut u8

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

§pxEndOfStack: *mut u8

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

Trait Implementations

Source§

impl Clone for xTASK_SNAPSHOT

Source§

fn clone(&self) -> xTASK_SNAPSHOT

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for xTASK_SNAPSHOT

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for xTASK_SNAPSHOT

Source§

fn default() -> xTASK_SNAPSHOT

Returns the “default value” for a type. Read more
Source§

impl Copy for xTASK_SNAPSHOT