drivers/sensor: lis2dw12: add fds + hp_ref support
Add FDS (Filtered Data Type Selection) + High-Pass reference mode support (FDS in CTRL6, HP_REF_MODE in CTRL7) Values are configurable through DT per instance. Signed-off-by: Maxime Vincent <maxime@veemax.be>
This commit is contained in:
parent
2d2a708bc8
commit
652ab7f2d4
3 changed files with 45 additions and 0 deletions
|
@ -70,6 +70,8 @@ struct lis2dw12_device_config {
|
|||
uint8_t range;
|
||||
uint8_t bw_filt;
|
||||
bool low_noise;
|
||||
bool hp_filter_path;
|
||||
bool hp_ref_mode;
|
||||
#ifdef CONFIG_LIS2DW12_TRIGGER
|
||||
struct gpio_dt_spec gpio_int;
|
||||
uint8_t int_pin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue