zephyr/drivers/sensor/lis2dh
Markus Brüx c56851a5cb drivers: sensor: lis2dh: Allow power-down mode
Remove check if frequency is equal to zero. A value of `ODR = 0` is
explicitly allowed by manufacturer / datasheet.
This has prevented applications from using the lis2dh power-down-mode,
which is set via `ODR = 0`.

For reference see "Table 28. Data rate configuration" in datasheet p.33.

Fixes #35486.

Signed-off-by: Markus Brüx <markus.bruex@grandcentrix.net>
2021-11-29 18:19:18 -05:00
..
CMakeLists.txt drivers: sensor: clean up zephyr_library calls 2021-06-30 09:36:33 -04:00
Kconfig drivers: sensors: lis2dh: Add ability to read temperature 2021-11-02 22:23:39 -04:00
lis2dh.c drivers: sensor: lis2dh: Allow power-down mode 2021-11-29 18:19:18 -05:00
lis2dh.h drivers: sensors: lis2dh: Add ability to read temperature 2021-11-02 22:23:39 -04:00
lis2dh_i2c.c
lis2dh_spi.c
lis2dh_trigger.c drivers: sensor: lis2dh: Level triggered interrupts 2021-11-08 15:37:57 -06:00