iio: core: add high pass filter attributes
Add a high pass filter attribute for measurements (like the existing low pass) Also add both high and low pass attributes for events. Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Esse commit está contido em:

commit de
Jonathan Cameron

pai
2a17698c0e
commit
3f7f642b9b
@@ -211,6 +211,8 @@ static const char * const iio_ev_info_text[] = {
|
||||
[IIO_EV_INFO_VALUE] = "value",
|
||||
[IIO_EV_INFO_HYSTERESIS] = "hysteresis",
|
||||
[IIO_EV_INFO_PERIOD] = "period",
|
||||
[IIO_EV_INFO_HIGH_PASS_FILTER_3DB] = "high_pass_filter_3db",
|
||||
[IIO_EV_INFO_LOW_PASS_FILTER_3DB] = "low_pass_filter_3db",
|
||||
};
|
||||
|
||||
static enum iio_event_direction iio_ev_attr_dir(struct iio_dev_attr *attr)
|
||||
|
Referência em uma nova issue
Block a user