diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-01 16:03:03 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-01 16:03:03 +0000 |
commit | f112ffa1e6e4a2e3bc3c6754f2e6ed7de030c12f (patch) | |
tree | f749c32285d3d414cd2e6e8e6c2c2b72d2807a7e /testhal/STM32/STM32F4xx/DAC/mcuconf.h | |
parent | 11dde993c286108892d4885811a59d4a2e6338b9 (diff) | |
download | ChibiOS-f112ffa1e6e4a2e3bc3c6754f2e6ed7de030c12f.tar.gz ChibiOS-f112ffa1e6e4a2e3bc3c6754f2e6ed7de030c12f.tar.bz2 ChibiOS-f112ffa1e6e4a2e3bc3c6754f2e6ed7de030c12f.zip |
DAC driver *almost* done.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7934 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/DAC/mcuconf.h')
-rw-r--r-- | testhal/STM32/STM32F4xx/DAC/mcuconf.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/testhal/STM32/STM32F4xx/DAC/mcuconf.h b/testhal/STM32/STM32F4xx/DAC/mcuconf.h index 4aeb855d4..419775ba1 100644 --- a/testhal/STM32/STM32F4xx/DAC/mcuconf.h +++ b/testhal/STM32/STM32F4xx/DAC/mcuconf.h @@ -93,15 +93,15 @@ /*
* DAC driver system settings.
*/
-#define STM32_DAC_USE_CHN1 TRUE
-#define STM32_DAC_USE_CHN2 FALSE
-#define STM32_DAC_CHN1_IRQ_PRIORITY 10
-#define STM32_DAC_CHN2_IRQ_PRIORITY 10
-#define STM32_DAC_CHN1_DMA_PRIORITY 2
-#define STM32_DAC_CHN2_DMA_PRIORITY 2
-#define STM32_DAC_DMA_ERROR_HOOK(dacp) osalSysHalt()
-#define STM32_DAC_CHN1_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
-#define STM32_DAC_CHN2_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
+#define STM32_DAC_DUAL_MODE FALSE
+#define STM32_DAC_USE_DAC1_CH1 TRUE
+#define STM32_DAC_USE_DAC1_CH2 TRUE
+#define STM32_DAC1_CH1_IRQ_PRIORITY 10
+#define STM32_DAC1_CH2_IRQ_PRIORITY 10
+#define STM32_DAC1_CH1_DMA_PRIORITY 2
+#define STM32_DAC1_CH2_DMA_PRIORITY 2
+#define STM32_DAC1_CH1_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
+#define STM32_DAC1_CH2_DMA_STREAM STM32_DMA_STREAM_ID(1, 6)
/*
* EXT driver system settings.
|