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
Kconfig
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
lis2mdl_spi.c
lis2mdl_trigger.c drivers: sensor: lis2mdl: Add single mode operation 2021-03-31 08:08:35 -04:00