Function esp_idf_hal::sys::adc_continuous_config
source · pub unsafe extern "C" fn adc_continuous_config(
handle: *mut adc_continuous_ctx_t,
config: *const adc_continuous_config_t,
) -> i32
Expand description
@brief Set ADC continuous mode required configurations
@param[in] handle ADC continuous mode driver handle
@param[in] config Refer to adc_digi_config_t
.
@return - ESP_ERR_INVALID_STATE: Driver state is invalid, you shouldn’t call this API at this moment - ESP_ERR_INVALID_ARG: If the combination of arguments is invalid. - ESP_OK: On success