aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/ADC
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-05-03 13:12:45 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-05-03 13:12:45 +0000
commit8ce0e9f75d38b985c4293649b6712046c40fb5b9 (patch)
tree8b0219af458e8d0122ba58f2532a77f9ab5aa5be /testhal/STM32/STM32F4xx/ADC
parentf713242debeb447884d17657c0e26751dc1d84e8 (diff)
downloadChibiOS-8ce0e9f75d38b985c4293649b6712046c40fb5b9.tar.gz
ChibiOS-8ce0e9f75d38b985c4293649b6712046c40fb5b9.tar.bz2
ChibiOS-8ce0e9f75d38b985c4293649b6712046c40fb5b9.zip
Updated mcuconf.h files for STM32F4xx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7948 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/ADC')
-rw-r--r--testhal/STM32/STM32F4xx/ADC/mcuconf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/ADC/mcuconf.h b/testhal/STM32/STM32F4xx/ADC/mcuconf.h
index 7008fcb66..218f363a7 100644
--- a/testhal/STM32/STM32F4xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/ADC/mcuconf.h
@@ -91,6 +91,19 @@
#define STM32_CAN_CAN2_IRQ_PRIORITY 11
/*
+ * DAC driver system settings.
+ */
+#define STM32_DAC_DUAL_MODE FALSE
+#define STM32_DAC_USE_DAC1_CH1 FALSE
+#define STM32_DAC_USE_DAC1_CH2 FALSE
+#define STM32_DAC_DAC1_CH1_IRQ_PRIORITY 10
+#define STM32_DAC_DAC1_CH2_IRQ_PRIORITY 10
+#define STM32_DAC_DAC1_CH1_DMA_PRIORITY 2
+#define STM32_DAC_DAC1_CH2_DMA_PRIORITY 2
+#define STM32_DAC_DAC1_CH1_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
+#define STM32_DAC_DAC1_CH2_DMA_STREAM STM32_DMA_STREAM_ID(1, 6)
+
+/*
* EXT driver system settings.
*/
#define STM32_EXT_EXTI0_IRQ_PRIORITY 6