Type Alias esp_idf_sys::dac_isr_callback_t

source ·
pub type dac_isr_callback_t = Option<unsafe extern "C" fn(handle: dac_continuous_handle_t, event: *const dac_event_data_t, user_data: *mut c_void) -> bool>;
Expand description

@brief DAC event callback @param[in] handle DAC channel handle, created from dac_continuous_new_channels() @param[in] event DAC event data @param[in] user_data User registered context, passed from dac_continuous_register_event_callback()

@return Whether a high priority task has been waken up by this callback function

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.