aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F0xx/ADC
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-11-19 08:07:44 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-11-19 08:07:44 +0000
commitf8555ffa3f85b0588b20914fb2e15207336b7fa4 (patch)
treeab212b331b6c99e2ae210546a07c9d7d172641c9 /testhal/STM32/STM32F0xx/ADC
parente877388d6da00a2f52ab1661a642f9e779022b15 (diff)
downloadChibiOS-f8555ffa3f85b0588b20914fb2e15207336b7fa4.tar.gz
ChibiOS-f8555ffa3f85b0588b20914fb2e15207336b7fa4.tar.bz2
ChibiOS-f8555ffa3f85b0588b20914fb2e15207336b7fa4.zip
Re-aligned mcuconf.h files for F0 devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11035 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F0xx/ADC')
-rw-r--r--testhal/STM32/STM32F0xx/ADC/mcuconf.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/testhal/STM32/STM32F0xx/ADC/mcuconf.h b/testhal/STM32/STM32F0xx/ADC/mcuconf.h
index 262aa9d1b..e98772f82 100644
--- a/testhal/STM32/STM32F0xx/ADC/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/ADC/mcuconf.h
@@ -41,7 +41,6 @@
#define STM32_PLS STM32_PLS_LEV0
#define STM32_HSI_ENABLED TRUE
#define STM32_HSI14_ENABLED TRUE
-#define STM32_HSI48_ENABLED FALSE
#define STM32_LSI_ENABLED TRUE
#define STM32_HSE_ENABLED FALSE
#define STM32_LSE_ENABLED FALSE
@@ -61,6 +60,16 @@
#define STM32_RTCSEL STM32_RTCSEL_LSI
/*
+ * IRQ system settings.
+ */
+#define STM32_IRQ_EXTI0_1_IRQ_PRIORITY 3
+#define STM32_IRQ_EXTI2_3_IRQ_PRIORITY 3
+#define STM32_IRQ_EXTI4_15_IRQ_PRIORITY 3
+#define STM32_IRQ_EXTI16_IRQ_PRIORITY 3
+#define STM32_IRQ_EXTI17_20_IRQ_PRIORITY 3
+#define STM32_IRQ_EXTI21_22_IRQ_PRIORITY 3
+
+/*
* ADC driver system settings.
*/
#define STM32_ADC_USE_ADC1 TRUE
@@ -70,16 +79,6 @@
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
/*
- * EXT driver system settings.
- */
-#define STM32_EXT_EXTI0_1_IRQ_PRIORITY 3
-#define STM32_EXT_EXTI2_3_IRQ_PRIORITY 3
-#define STM32_EXT_EXTI4_15_IRQ_PRIORITY 3
-#define STM32_EXT_EXTI16_IRQ_PRIORITY 3
-#define STM32_EXT_EXTI17_20_IRQ_PRIORITY 3
-#define STM32_EXT_EXTI21_22_IRQ_PRIORITY 3
-
-/*
* GPT driver system settings.
*/
#define STM32_GPT_USE_TIM1 FALSE