diff options
author | Keith Packard <keithp@keithp.com> | 2018-06-16 23:47:42 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-06-17 01:10:04 -0700 |
commit | 7821e341a7cf55e32b926eb4474220dabb6eeb81 (patch) | |
tree | 7aa9accdec118ea8584f82ab43ae34e84724e1b5 /src/stm/stm32l.h | |
parent | 5c465b0049659246908b15be68806b1390e8ebe5 (diff) |
altos/stm: Define ADC channels for TEMP and V_REF
These are fixed at 16 and 17.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/stm32l.h')
-rw-r--r-- | src/stm/stm32l.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |