Function esp_idf_hal::sys::xTaskCallApplicationTaskHook
source ยท pub unsafe extern "C" fn xTaskCallApplicationTaskHook(
xTask: *mut tskTaskControlBlock,
pvParameter: *mut c_void,
) -> i32
Expand description
@cond !DOC_EXCLUDE_HEADER_SECTION task.h @code{c} BaseType_t xTaskCallApplicationTaskHook( TaskHandle_t xTask, void *pvParameter ); @endcode @endcond
Calls the hook function associated with xTask. Passing xTask as NULL has the effect of calling the Running tasks (the calling task) hook function.
@param xTask Handle of the task to call the hook for. @param pvParameter Parameter passed to the hook function for the task to interpret as it wants. The return value is the value returned by the task hook function registered by the user.