Type Alias esp_idf_svc::hal::sys::TimerCallbackFunction_t

source ·
pub type TimerCallbackFunction_t = Option<unsafe extern "C" fn(_: *mut tmrTimerControl)>;
Expand description

Defines the prototype to which timer callback functions must conform.

Aliased Type§

enum TimerCallbackFunction_t {
    None,
    Some(unsafe extern "C" fn(_: *mut tmrTimerControl)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut tmrTimerControl))

Some value of type T.