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
impl Clone for xTASK_SNAPSHOT
Source§fn clone(&self) -> xTASK_SNAPSHOT
fn clone(&self) -> xTASK_SNAPSHOT
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for xTASK_SNAPSHOT
impl Debug for xTASK_SNAPSHOT
Source§impl Default for xTASK_SNAPSHOT
impl Default for xTASK_SNAPSHOT
Source§fn default() -> xTASK_SNAPSHOT
fn default() -> xTASK_SNAPSHOT
Returns the “default value” for a type. Read more