From: Keith Packard Date: Sun, 17 Jun 2018 06:47:42 +0000 (-0700) Subject: altos/stm: Define ADC channels for TEMP and V_REF X-Git-Tag: 1.8.6~1^2~30 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=7821e341a7cf55e32b926eb4474220dabb6eeb81 altos/stm: Define ADC channels for TEMP and V_REF These are fixed at 16 and 17. Signed-off-by: Keith Packard --- diff --git a/src/stm/stm32l.h b/src/stm/stm32l.h index 201f4f36..1da817e7 100644 --- a/src/stm/stm32l.h +++ b/src/stm/stm32l.h @@ -1454,6 +1454,9 @@ struct stm_adc { extern struct stm_adc stm_adc; +#define STM_ADC_SQ_TEMP 16 +#define STM_ADC_SQ_V_REF 17 + #define STM_ADC_SR_JCNR 9 #define STM_ADC_SR_RCNR 8 #define STM_ADC_SR_ADONS 6