This commit adds the activity/inactivity recognition as well as the stationary/motion detection as defined in the IIS2DLPC application note. For now, there is no possibility to configure this interrupt using device tree binding, as I would like to keep the configuration updatable and not set at boot time. This behaviour is fine for prototypes and samples, but is too restrictive on products that may want to change the interrupt configuration at run-time. The interrupt is configured using the attributes SENSOR_ATTR_SLOPE_TH and SENSOR_ATTR_SLOPE_DUR. Signed-off-by: Giuliano Franchetto <giuliano.franchetto@intellinium.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| iis2dlpc_trigger.c | ||
| iis2dlpc.c | ||
| iis2dlpc.h | ||
| Kconfig | ||