Browse Source

efm32lg: adc: Misspelling in ADC_CTRL_LPFMODE definition.

pull/771/merge
kbob 9 years ago
committed by Karl Palsson
parent
commit
0d815061d9
  1. 2
      include/libopencm3/efm32/lg/adc.h

2
include/libopencm3/efm32/lg/adc.h

@ -70,7 +70,7 @@
#define ADC_CTRL_LPFMODE_SHIFT (4)
#define ADC_CTRL_LPFMODE_MASK (0x3 << ADC_CTRL_LPFMODE_SHIFT)
#define ADC_CTRL_LPFMODE(v) \
(((v) << ADC_CTRL_LPFMODEC_SHIFT) & ADC_CTRL_LPFMODEC_MASK)
(((v) << ADC_CTRL_LPFMODE_SHIFT) & ADC_CTRL_LPFMODE_MASK)
#define ADC_CTRL_LPFMODE_BYPASS ADC_CTRL_LPFMODE(0)
#define ADC_CTRL_LPFMODE_DECAP ADC_CTRL_LPFMODE(1)
#define ADC_CTRL_LPFMODE_RCFILT ADC_CTRL_LPFMODE(2)

Loading…
Cancel
Save