Type Alias esp_idf_sys::adc_continuous_callback_t
source · pub type adc_continuous_callback_t = Option<unsafe extern "C" fn(handle: adc_continuous_handle_t, edata: *const adc_continuous_evt_data_t, user_data: *mut c_void) -> bool>;
Expand description
@brief Prototype of ADC continuous mode event callback
@param[in] handle ADC continuous mode driver handle
@param[in] edata Pointer to ADC contunuous mode event data
@param[in] user_data User registered context, registered when in adc_continuous_register_event_callbacks()
@return Whether a high priority task is woken up by this function
Aliased Type§
enum adc_continuous_callback_t {
None,
Some(unsafe extern "C" fn(_: *mut adc_continuous_ctx_t, _: *const adc_continuous_evt_data_t, _: *mut c_void) -> bool),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut adc_continuous_ctx_t, _: *const adc_continuous_evt_data_t, _: *mut c_void) -> bool)
Some value of type T
.