LIS2DH12 Direction Recognition Interrupt
In the datasheet, for the INT1_CFG register, it says:
AOI-6D = ‘11’ is direction recognition. An interrupt is generated when the orientation is
inside a known zone. The interrupt signal remains while the orientation is inside the zone.
I want to be able to generate an interrupt on INT1 pin when the sensor is on a flat surface for more than 3 seconds. The data sheet has little information on how to set this up. Other than setting the AOI and 6D bit to 11 in the INT1_CFG register, what other bits and register do I need to set to detect the flat position?
Can someone advise?
