aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F3xx/ADC
diff options
context:
space:
mode:
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
/*