zephyr/drivers/sensor/lis2mdl
Masoud Shiroei ef2a590281 drivers: sensor: lis2mdl: Add single mode operation
Support single mode operation by enabling it and
making the driver to use the interrupt to findout
when the data is ready for fetch. The sample fetch
will be blocked for a specified maximum time untill
the interrupt happens.

* Make operation mode configurable in DTS file
* Make offset cancellation configurable in DTS file
* Use single common .yaml file for both i2c and spi
* Store above configurations in dev->config_info

Signed-off-by: Masoud Shiroei <masoud.shiroei@assaabloy.com>
2021-03-31 08:08:35 -04:00
..
CMakeLists.txt driver/sensor: lis2mdl: make use of STdC definitions 2019-09-26 13:42:59 -07:00
Kconfig dts/Kconfig: Remove HAS_DTS_I2C 2020-09-18 13:34:44 -05:00
lis2mdl.c drivers: sensor: lis2mdl: Add single mode operation 2021-03-31 08:08:35 -04:00
lis2mdl.h drivers: sensor: lis2mdl: Add single mode operation 2021-03-31 08:08:35 -04:00
lis2mdl_i2c.c drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lis2mdl_spi.c drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lis2mdl_trigger.c drivers: sensor: lis2mdl: Add single mode operation 2021-03-31 08:08:35 -04:00