diff options
Diffstat (limited to 'demos/STM32')
-rw-r--r-- | demos/STM32/RT-STM32L053R8-NUCLEO/mcuconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO/mcuconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO/mcuconf.h index 7ed7248b6..85180451c 100644 --- a/demos/STM32/RT-STM32L053R8-NUCLEO/mcuconf.h +++ b/demos/STM32/RT-STM32L053R8-NUCLEO/mcuconf.h @@ -69,10 +69,12 @@ * ADC driver system settings.
*/
#define STM32_ADC_USE_ADC1 TRUE
+#define STM32_ADC_ADC1_CKMODE STM32_ADC_CKMODE_ADCCLK
#define STM32_ADC_ADC1_DMA_PRIORITY 2
-#define STM32_ADC_IRQ_PRIORITY 2
+#define STM32_ADC_ADC1_IRQ_PRIORITY 2
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 2
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
+#define STM32_ADC_PRESCALER_VALUE 1
/*
* EXT driver system settings.
|