0ab1bf42b3
Both DRDY and motion interrupts behaves like level signals since they remain asserted until they're cleared. Configuring them as edge interrupts is dangerous because if we ever miss an interrupt, it may never get cleared and thus will never trigger again. Treating them as edge signals seems to have no advantages, other than being marginally simpler to implement. The patch has gotten many hours of run-time on real hardware using a nRF52-based board and a LIS3DH with both interrupts connected and heavily utilized. Signed-off-by: Benjamin Lindqvist <benjamin.lindqvist@endian.se> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
lis2dh.c | ||
lis2dh.h | ||
lis2dh_i2c.c | ||
lis2dh_spi.c | ||
lis2dh_trigger.c |