The LIS3DSHTR is an ultra-low-power high-performance 3-axis linear accelerometer with two embedded finite-state machines. ... Each state machine has 16 states for data storage. The device can be configured to generate interrupt signals activated by user defined motion patterns.