chg: adapting some HF voltage readings.

This commit is contained in:
iceman1001 2018-02-07 13:11:10 +01:00
commit 75d04307a1
3 changed files with 20 additions and 3 deletions

View file

@ -23,6 +23,7 @@
#define ADC_CHAN_LF 4
#define ADC_CHAN_HF 5
#define ADC_CHAN_HF_RDV40 7
#define ADC_MODE_PRESCALE(x) ((x) << 8)
#define ADC_MODE_STARTUP_TIME(x) ((x) << 16)
#define ADC_MODE_SAMPLE_HOLD_TIME(x) ((x) << 24)