Function esp_idf_svc::sys::adc_digi_controller_configure

source ยท
pub unsafe extern "C" fn adc_digi_controller_configure(
    config: *const adc_digi_configuration_t,
) -> i32
Expand description

@brief Setting the digital controller.

@param config Pointer to digital controller paramter. Refer to adc_digi_config_t.

@return - ESP_ERR_INVALID_STATE Driver state is invalid. - ESP_ERR_INVALID_ARG If the combination of arguments is invalid. - ESP_OK On success