Function esp_idf_sys::adc_oneshot_del_unit
source · pub unsafe extern "C" fn adc_oneshot_del_unit(
handle: adc_oneshot_unit_handle_t,
) -> esp_err_t
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