Function esp_idf_sys::pxTaskGetStackStart

source ยท
pub unsafe extern "C" fn pxTaskGetStackStart(
    xTask: TaskHandle_t,
) -> *mut u8
Expand description

Returns the start of the stack associated with xTask.

Returns the lowest stack memory address, regardless of whether the stack grows up or down.

[refactor-todo] Change return type to StackType_t (IDF-8158)

@param xTask Handle of the task associated with the stack returned. Set xTask to NULL to return the stack of the calling task.

@return A pointer to the start of the stack.