[][src]Function esp_idf_bindgen::pxTaskGetStackStart

pub unsafe extern "C" fn pxTaskGetStackStart(xTask: TaskHandle_t) -> *mut u8

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 highest stack memory address on architectures where the stack grows down from high memory, and the lowest memory address on architectures where the stack grows up from low memory.

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