pub unsafe extern "C" fn xTaskCallApplicationTaskHook(
    xTask: *mut tskTaskControlBlock,
    pvParameter: *mut c_void
) -> i32
Expand description

task.h @code{c} BaseType_t xTaskCallApplicationTaskHook( TaskHandle_t xTask, void *pvParameter ); @endcode

Calls the hook function associated with xTask. Passing xTask as NULL has the effect of calling the Running tasks (the calling task) hook function.

pvParameter is 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.