Function esp_idf_svc::hal::sys::adc_continuous_flush_pool
source · pub unsafe extern "C" fn adc_continuous_flush_pool(
handle: *mut adc_continuous_ctx_t,
) -> i32
Expand description
@brief Flush the driver internal pool
@note This API is not supposed to be called in an ISR context
@param[in] handle ADC continuous mode driver handle
@return - ESP_ERR_INVALID_STATE Driver state is invalid, you should call this API when it’s in init state - ESP_ERR_INVALID_ARG: Invalid arguments - ESP_OK On success