Function esp_idf_svc::hal::sys::adc_digi_initialize

source ยท
pub unsafe extern "C" fn adc_digi_initialize(
    init_config: *const adc_digi_init_config_s,
) -> i32
Expand description

@brief Initialize the Digital ADC.

@param init_config Pointer to Digital ADC initilization config. Refer to adc_digi_init_config_t.

@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