Type Alias esp_idf_svc::hal::sys::TaskHookFunction_t

source ·
pub type TaskHookFunction_t = Option<unsafe extern "C" fn(_: *mut c_void) -> i32>;
Expand description

Defines the prototype to which the application task hook function must conform.

Aliased Type§

enum TaskHookFunction_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void) -> i32)

Some value of type T.