diff options
author | Karl Palsson <karlp@tweak.net.au> | 2019-05-11 01:18:08 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2019-05-11 01:18:08 +0300 |
commit | 45e14a7bd3dcc03dd392d72da4b331eb2c9c3a57 (patch) | |
tree | ad4f64a0c4ba2fa960643b5f5accee9ad49bc146 /include/libopencm3/stm32/common/adc_common_v1_multi.h | |
parent | cc364d1ac20503911cf187e678ef5dc15ca9545d (diff) |
stm32: adc: fix f4/f7 temperature sensor channel defines.
Lots of common stuff, but the F7 fixed the temperature sensor randomness
that the f4 had. Separate the definitions properly.
Diffstat (limited to 'include/libopencm3/stm32/common/adc_common_v1_multi.h')
-rw-r--r-- | include/libopencm3/stm32/common/adc_common_v1_multi.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/libopencm3/stm32/common/adc_common_v1_multi.h b/include/libopencm3/stm32/common/adc_common_v1_multi.h index 190b00ee..c75ce099 100644 --- a/include/libopencm3/stm32/common/adc_common_v1_multi.h +++ b/include/libopencm3/stm32/common/adc_common_v1_multi.h @@ -86,15 +86,6 @@ specific memorymap.h header before including this header file.*/ /* --- ADC Channels ------------------------------------------------------- */ -/** @defgroup adc_channel ADC Channel Numbers - * @ingroup adc_defines - * Thanks ST! F40x and F41x are on 16, F42x and F43x are on 18! - *@{*/ -#define ADC_CHANNEL_TEMP_F40 16 -#define ADC_CHANNEL_TEMP_F42 18 -#define ADC_CHANNEL_VREF 17 -#define ADC_CHANNEL_VBAT 18 -/**@}*/ /* --- ADC_SR values ------------------------------------------------------- */ |