stm32f3: adc: consistently use unshifted

and tweak teh docs a little
This commit is contained in:
Karl Palsson
2020-03-04 22:02:45 +00:00
parent 49285ed8e1
commit f1b4a4dfff
2 changed files with 4 additions and 5 deletions

View File

@@ -522,7 +522,7 @@
#define ADC_CCR_DUAL_ALTERNATE_TRIG 0x9
/**@}*/
#define ADC_CCR_DUAL_MASK (0x1f << 0)
#define ADC_CCR_DUAL_MASK (0x1f)
#define ADC_CCR_DUAL_SHIFT 0