diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-09-16 16:24:14 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-09-16 16:24:14 +0000 |
commit | 18e72e023de58ad2ca5757157eab5fa93ca0977a (patch) | |
tree | a6e0a5433cc84f1a107966e1cfa55a55d95edf9c /testhal/STM32 | |
parent | 9bfcb80e61e0f9fe5c4ff88b9ceca02f8ed6fc03 (diff) | |
download | ChibiOS-18e72e023de58ad2ca5757157eab5fa93ca0977a.tar.gz ChibiOS-18e72e023de58ad2ca5757157eab5fa93ca0977a.tar.bz2 ChibiOS-18e72e023de58ad2ca5757157eab5fa93ca0977a.zip |
Adapted ADCv3 to STM32L4+.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12267 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/STM32')
-rw-r--r-- | testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h index e02d41c7e..8376b0103 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h @@ -124,6 +124,12 @@ /*
* ADC driver system settings.
*/
+#define STM32_ADC_COMPACT_SAMPLES FALSE
+#define STM32_ADC_USE_ADC1 FALSE
+#define STM32_ADC_ADC1_DMA_CHANNEL 10
+#define STM32_ADC_ADC1_DMA_PRIORITY 2
+#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5
+#define STM32_ADC_ADC123_CLOCK_MODE ADC_CCR_CKMODE_AHB_DIV2
/*
* CAN driver system settings.
|