diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-08-15 22:48:07 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-08-15 23:21:41 -0400 |
commit | 4ec6db7a87b2f0b0e033b87ca912818dc84cbe2f (patch) | |
tree | c7ad2e8bde695f1c6a2dd1ea4164d98fb8c04f93 /src/stm32/gpio.h | |
parent | d3bd4f9622d422ad135418cb7f91672cd46bcf78 (diff) | |
download | kutter-4ec6db7a87b2f0b0e033b87ca912818dc84cbe2f.tar.gz kutter-4ec6db7a87b2f0b0e033b87ca912818dc84cbe2f.tar.xz kutter-4ec6db7a87b2f0b0e033b87ca912818dc84cbe2f.zip |
stm32: Add support for additional ADC3 ports on stm32f4
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/gpio.h')
-rw-r--r-- | src/stm32/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm32/gpio.h b/src/stm32/gpio.h index c7602504..ad8a9979 100644 --- a/src/stm32/gpio.h +++ b/src/stm32/gpio.h @@ -22,6 +22,7 @@ void gpio_in_reset(struct gpio_in g, int32_t pull_up); uint8_t gpio_in_read(struct gpio_in g); struct gpio_adc { + void *adc; uint32_t chan; }; struct gpio_adc gpio_adc_setup(uint32_t pin); |