Function esp_idf_svc::sys::adc_oneshot_del_unit

source ·
pub unsafe extern "C" fn adc_oneshot_del_unit(
    handle: *mut adc_oneshot_unit_ctx_t,
) -> i32
Expand description

@brief Delete the ADC unit handle

@note This API is thread-safe. For more details, see ADC programming guide

@param[in] handle ADC handle

@return - ESP_OK: On success - ESP_ERR_INVALID_ARG: Invalid arguments - ESP_ERR_NOT_FOUND: The ADC peripheral to be disclaimed isn’t in use