fix(adc): workaround to fix adc continuous get less results on c3

This commit is contained in:
gaoxu
2024-01-23 18:47:19 +08:00
committed by Gao Xu
parent f68c131e56
commit 2eccde88f3
5 changed files with 43 additions and 8 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -207,6 +207,13 @@ void adc_hal_digi_dis_intr(adc_hal_dma_ctx_t *hal, uint32_t mask);
*/
void adc_hal_digi_stop(adc_hal_dma_ctx_t *hal);
#if ADC_LL_WORKAROUND_CLEAR_EOF_COUNTER
/**
* @brief Clear the ADC sample counter
*/
void adc_hal_digi_clr_eof(void);
#endif
#ifdef __cplusplus
}
#endif