Type Alias esp_idf_svc::sys::ledc_cb_t

source ·
pub type ledc_cb_t = Option<unsafe extern "C" fn(_: *const ledc_cb_param_t, _: *mut c_void) -> bool>;
Expand description

@brief Type of LEDC event callback @param param LEDC callback parameter @param user_arg User registered data @return Whether a high priority task has been waken up by this function

Aliased Type§

enum ledc_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *const ledc_cb_param_t, _: *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const ledc_cb_param_t, _: *mut c_void) -> bool)

Some value of type T.