Function esp_idf_svc::hal::sys::xTaskCallApplicationTaskHook

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

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.