git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5447 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
5f4fb7dff9
commit
8f88fe2b7a
|
@ -168,6 +168,14 @@
|
||||||
#define STM32_ADC_USE_SDADC3 FALSE
|
#define STM32_ADC_USE_SDADC3 FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief SDADC slow mode switch.
|
||||||
|
* @details If set to @p TRUE all SDADCs operate in slow mode.
|
||||||
|
*/
|
||||||
|
#if !defined(STM32_ADC_SDADC_SLOW_MODE) || defined(__DOXYGEN__)
|
||||||
|
#define STM32_ADC_SDADC_SLOW_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief ADC1 DMA priority (0..3|lowest..highest).
|
* @brief ADC1 DMA priority (0..3|lowest..highest).
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
#define STM32_ADC_USE_SDADC1 TRUE
|
#define STM32_ADC_USE_SDADC1 TRUE
|
||||||
#define STM32_ADC_USE_SDADC2 TRUE
|
#define STM32_ADC_USE_SDADC2 TRUE
|
||||||
#define STM32_ADC_USE_SDADC3 TRUE
|
#define STM32_ADC_USE_SDADC3 TRUE
|
||||||
|
#define STM32_ADC_SDADC_SLOW_MODE FALSE
|
||||||
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
#define STM32_ADC_ADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_SDADC1_DMA_PRIORITY 2
|
#define STM32_ADC_SDADC1_DMA_PRIORITY 2
|
||||||
#define STM32_ADC_SDADC2_DMA_PRIORITY 2
|
#define STM32_ADC_SDADC2_DMA_PRIORITY 2
|
||||||
|
|
Loading…
Reference in New Issue