diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-17 07:37:18 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-17 07:37:18 +0000 |
commit | 3fc18fd71fd1d3266b4c606db52e2404b7bc9d77 (patch) | |
tree | 557c149bea01ba712132505870eea0948150494a /testhal/STM32F30x/PWM-ICU | |
parent | 1f6edfef775e68d713346b9a536e0df3b9e73161 (diff) | |
download | ChibiOS-3fc18fd71fd1d3266b4c606db52e2404b7bc9d77.tar.gz ChibiOS-3fc18fd71fd1d3266b4c606db52e2404b7bc9d77.tar.bz2 ChibiOS-3fc18fd71fd1d3266b4c606db52e2404b7bc9d77.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5445 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F30x/PWM-ICU')
-rw-r--r-- | testhal/STM32F30x/PWM-ICU/mcuconf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testhal/STM32F30x/PWM-ICU/mcuconf.h b/testhal/STM32F30x/PWM-ICU/mcuconf.h index 1a096c9c3..f59aa6d7a 100644 --- a/testhal/STM32F30x/PWM-ICU/mcuconf.h +++ b/testhal/STM32F30x/PWM-ICU/mcuconf.h @@ -68,6 +68,21 @@ #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_ADC12_DMA_PRIORITY 2
+#define STM32_ADC_ADC34_DMA_PRIORITY 2
+#define STM32_ADC_ADC12_IRQ_PRIORITY 5
+#define STM32_ADC_ADC34_IRQ_PRIORITY 5
+#define STM32_ADC_ADC12_DMA_IRQ_PRIORITY 5
+#define STM32_ADC_ADC34_DMA_IRQ_PRIORITY 5
+#define STM32_ADC_ADC12_CLOCK_MODE ADC_CCR_CKMODE_AHB_DIV1
+#define STM32_ADC_ADC34_CLOCK_MODE ADC_CCR_CKMODE_AHB_DIV1
+#define STM32_ADC_DUAL_MODE FALSE
+
+/*
* CAN driver system settings.
*/
#define STM32_CAN_USE_CAN1 FALSE
|