aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F3xx/ADC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-26 16:31:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-26 16:31:34 +0000
commit1c4914bb0d7f7cf942cd5634d3f21e0c7a85a357 (patch)
tree293bbaca872452cd3f899fbdb76c4f159c2a0ca6 /testhal/STM32F3xx/ADC
parentcc94e31e381fce2321081643ede52b1f8b39edb4 (diff)
downloadChibiOS-1c4914bb0d7f7cf942cd5634d3f21e0c7a85a357.tar.gz
ChibiOS-1c4914bb0d7f7cf942cd5634d3f21e0c7a85a357.tar.bz2
ChibiOS-1c4914bb0d7f7cf942cd5634d3f21e0c7a85a357.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4976 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F3xx/ADC')
-rw-r--r--testhal/STM32F3xx/ADC/mcuconf.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/testhal/STM32F3xx/ADC/mcuconf.h b/testhal/STM32F3xx/ADC/mcuconf.h
index c20641fe7..6fbb66e33 100644
--- a/testhal/STM32F3xx/ADC/mcuconf.h
+++ b/testhal/STM32F3xx/ADC/mcuconf.h
@@ -68,9 +68,24 @@
#define STM32_USBPRE STM32_USBPRE_DIV1P5
/*
+ * ADC driver system settings.
+ */
+#define STM32_ADC_USE_ADC1 FALSE
+#define STM32_ADC_USE_ADC3 FALSE
+#define STM32_ADC_ADC1_DMA_PRIORITY 2
+#define STM32_ADC_ADC3_DMA_PRIORITY 2
+#define STM32_ADC_ADC1_IRQ_PRIORITY 2
+#define STM32_ADC_ADC3_IRQ_PRIORITY 2
+#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 2
+#define STM32_ADC_ADC3_DMA_IRQ_PRIORITY 2
+#define STM32_ADC_ADC1_CLOCK_MODE ADC_CCR_CKMODE_AHB_DIV1
+#define STM32_ADC_ADC3_CLOCK_MODE ADC_CCR_CKMODE_AHB_DIV1
+#define STM32_ADC_DUAL_MODE FALSE
+
+/*
* CAN driver system settings.
*/
-#define STM32_CAN_USE_CAN1 TRUE
+#define STM32_CAN_USE_CAN1 FALSE
#define STM32_CAN_CAN1_IRQ_PRIORITY 11
/*