aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32L1xx/adc_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-24 17:58:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-24 17:58:27 +0000
commit46870077b874696c09704da37dc4c33c8eb21402 (patch)
tree83bb86cc7e257025e0787f80b4e6d09e917926bf /os/hal/platforms/STM32L1xx/adc_lld.h
parent5a74dd3c2e3aa7c2a72f1bfe69a39b047710c429 (diff)
downloadChibiOS-46870077b874696c09704da37dc4c33c8eb21402.tar.gz
ChibiOS-46870077b874696c09704da37dc4c33c8eb21402.tar.bz2
ChibiOS-46870077b874696c09704da37dc4c33c8eb21402.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3523 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32L1xx/adc_lld.h')
-rw-r--r--os/hal/platforms/STM32L1xx/adc_lld.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32L1xx/adc_lld.h b/os/hal/platforms/STM32L1xx/adc_lld.h
index 58fb7bda1..29b5ff8c5 100644
--- a/os/hal/platforms/STM32L1xx/adc_lld.h
+++ b/os/hal/platforms/STM32L1xx/adc_lld.h
@@ -133,11 +133,19 @@
#endif
/**
- * @brief ADC1 interrupt priority level setting.
+ * @brief ADC interrupt priority level setting.
*/
-#if !defined(STM32_ADC_ADC1_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define STM32_ADC_ADC1_IRQ_PRIORITY 5
+#if !defined(STM32_ADC_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define STM32_ADC_IRQ_PRIORITY 5
#endif
+
+/**
+ * @brief ADC1 DMA interrupt priority level setting.
+ */
+#if !defined(STM32_ADC_ADC1_DMA_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
+#endif
+
/** @} */
/*===========================================================================*/