Function esp_idf_sys::adc_continuous_config
source · pub unsafe extern "C" fn adc_continuous_config(
handle: adc_continuous_handle_t,
config: *const adc_continuous_config_t,
) -> esp_err_t
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