Function esp_idf_sys::xTaskCallApplicationTaskHook
source ยท pub unsafe extern "C" fn xTaskCallApplicationTaskHook(
xTask: TaskHandle_t,
pvParameter: *mut c_void,
) -> BaseType_t
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.