aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/portab.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/multi/ADC/cfg/stm32l476_discovery/portab.h')
-rw-r--r--testhal/STM32/multi/ADC/cfg/stm32l476_discovery/portab.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/portab.h b/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/portab.h
index 6df606655..8b262afe4 100644
--- a/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/portab.h
+++ b/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/portab.h
@@ -39,7 +39,11 @@
#define PORTAB_SD1 SD2
-#define PORTAB_DAC_TRIG 0
+#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