Function esp_idf_svc::hal::sys::adc_continuous_new_handle
source ยท pub unsafe extern "C" fn adc_continuous_new_handle(
hdl_config: *const adc_continuous_handle_cfg_t,
ret_handle: *mut *mut adc_continuous_ctx_t,
) -> i32
Expand description
@brief Initialize ADC continuous driver and get a handle to it
@param[in] hdl_config Pointer to ADC initilization config. Refer to adc_continuous_handle_cfg_t
.
@param[out] ret_handle ADC continuous mode driver handle
@return - ESP_ERR_INVALID_ARG If the combination of arguments is invalid. - ESP_ERR_NOT_FOUND No free interrupt found with the specified flags - ESP_ERR_NO_MEM If out of memory - ESP_OK On success