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.

INCLUDE_pxTaskGetStackStart must be set to 1 in FreeRTOSConfig.h for this function to be available.

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

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