diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-30 19:47:31 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-30 19:47:31 +0000 |
commit | eb3eac8fea79a78fc595c9bc13da99fedfa1bc20 (patch) | |
tree | f1fb0a19e2385e8fbe2b85b0b5d4f241a74668bc /testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/portab.h | |
parent | 8c68f1fe7eb3e197f4c3ff04359db11f6124265a (diff) | |
download | ChibiOS-eb3eac8fea79a78fc595c9bc13da99fedfa1bc20.tar.gz ChibiOS-eb3eac8fea79a78fc595c9bc13da99fedfa1bc20.tar.bz2 ChibiOS-eb3eac8fea79a78fc595c9bc13da99fedfa1bc20.zip |
Demo complete, to be tested. White space fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12499 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/portab.h')
-rw-r--r-- | testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/portab.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/portab.h b/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/portab.h index 48e8e60de..f4fe29722 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/portab.h +++ b/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/portab.h @@ -39,7 +39,11 @@ #define PORTAB_SD1 LPSD1
-#define PORTAB_DAC_TRIG 5
+#define PORTAB_GPT1 GPTD4
+#define PORTAB_ADC1 ADCD1
+
+#define ADC_GRP1_NUM_CHANNELS 2
+#define ADC_GRP2_NUM_CHANNELS 2
/*===========================================================================*/
/* Module pre-compile time settings. */
@@ -61,6 +65,11 @@ /* External declarations. */
/*===========================================================================*/
+extern const GPTConfig portab_gptcfg1;
+extern const ADCConfig portab_adccfg1;
+extern const ADCConversionGroup portab_adcgrpcfg1;
+extern const ADCConversionGroup portab_adcgrpcfg2;
+
#ifdef __cplusplus
extern "C" {
#endif
|