aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32F37x/adc_lld.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F37x/adc_lld.h b/os/hal/platforms/STM32F37x/adc_lld.h
index 3bb203852..f74ddbf2e 100644
--- a/os/hal/platforms/STM32F37x/adc_lld.h
+++ b/os/hal/platforms/STM32F37x/adc_lld.h
@@ -169,6 +169,14 @@
#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).
*/
#if !defined(STM32_ADC_ADC1_DMA_PRIORITY) || defined(__DOXYGEN__)