From 0e263707af129726b6f9f1056523e1f16f350078 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 26 Jul 2015 12:51:34 +0000 Subject: STM32L0xx ADC demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8106 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32L053R8-NUCLEO/mcuconf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'demos/STM32/RT-STM32L053R8-NUCLEO') 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. -- cgit v1.2.3