summaryrefslogtreecommitdiff
path: root/adc
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2022-04-16 21:00:36 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-04-16 21:09:52 +0200
commit2492e82430fa2016efc4067c0f74495b435eb079 (patch)
treeb447b326ce86b0b23e5e71533a71f7b748a1204a /adc
parentd6c95a111c0950757d75496af254e3427e3769b6 (diff)
stm32f7: Add more peripherals.
Diffstat (limited to 'adc')
-rw-r--r--adc/adc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/adc/adc.h b/adc/adc.h
index 2c2fccb..01a2293 100644
--- a/adc/adc.h
+++ b/adc/adc.h
@@ -32,6 +32,10 @@ static ADC_t& ADC2 = *(ADC_t*)0x40012800;
static ADC_t& ADC3 = *(ADC_t*)0x40013c00;
#elif defined(STM32F4)
+#elif defined(STM32F7)
+static ADC_t& ADC1 = *(ADC_t*)0x40012000;
+static ADC_t& ADC2 = *(ADC_t*)0x40012100;
+static ADC_t& ADC3 = *(ADC_t*)0x40012200;
#endif
#endif