fix(adc): fix h2 adc oneshot read zero and add delay after getting done signal

This commit is contained in:
gaoxu
2023-11-13 14:48:40 +08:00
parent c8c7f999ef
commit 36be1473de
2 changed files with 6 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ extern "C" {
Oneshot
---------------------------------------------------------------*/
#define ADC_LL_DATA_INVERT_DEFAULT(PERIPH_NUM) (0)
#define ADC_LL_DELAY_CYCLE_AFTER_DONE_SIGNAL (2)
#define ADC_LL_DELAY_CYCLE_AFTER_DONE_SIGNAL (5)
/*---------------------------------------------------------------
DMA