drivers/sensor: lis2dw12: add low_noise support
Add low_noise support. (LOW_NOISE in CTRL6) Value is configurable through DT per instance. Signed-off-by: Maxime Vincent <maxime@veemax.be>
This commit is contained in:
parent
47021a608d
commit
2d2a708bc8
3 changed files with 40 additions and 4 deletions
|
@ -69,6 +69,7 @@ struct lis2dw12_device_config {
|
|||
lis2dw12_mode_t pm;
|
||||
uint8_t range;
|
||||
uint8_t bw_filt;
|
||||
bool low_noise;
|
||||
#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