ADC filter time constant configurable per channel
Add a filter-const prop to the adc_inputs devicetree binding and use it instead of the global ADC_FILTER_CONST in daq.cpp.
This commit is contained in:
committed by
Martin Jäger
parent
4008a09f3b
commit
ef9c8571cc
@@ -32,6 +32,11 @@ child-binding:
|
||||
description: |
|
||||
Offset to be substracted from ADC raw reading before applying the gain
|
||||
|
||||
filter-const:
|
||||
type: int
|
||||
default: 5
|
||||
description: Low-pass filter multiplier 1/(2^filter-const)
|
||||
|
||||
enable-gpios:
|
||||
type: phandle-array
|
||||
required: false
|
||||
|
||||
Reference in New Issue
Block a user