Type Alias esp_idf_sys::ledc_cb_t
source · pub type ledc_cb_t = Option<unsafe extern "C" fn(param: *const ledc_cb_param_t, user_arg: *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§
None
No value.
Some(unsafe extern "C" fn(_: *const ledc_cb_param_t, _: *mut c_void) -> bool)
Some value of type T
.