AN092
© Kionix 2019 All Rights Reserved
11 July 2019
Page 15 of 27
-
Monitor the physical interrupt INT1 of the accelerometer, if the acceleration input profile
satisfies the criteria previously established for the 0.5g motion detect threshold level in both
positive and negative directions of the X, Y, Z axis for more than 0.1 second, then there
should be positive latched interrupt present. Also, the WUFS bit in Interrupt Status 3 (INS3)
will be set to indicate the wake-up interrupt has fired. INS3 also provides information
regarding which axis/axes caused the wakeup interrupt. Finally, WAKE bit in Status (STAT)
will also be set to indicate the sensor is in WAKE mode.
Register Name
Address
Value
INS3
0x18
ins3
if
(ins3 & 0x80)
{
// handle wakeup event
}
-
Read Interrupt Latch Release (INT_REL) to unlatch (clear) the output interrupt created by the
motion detection function and to clear the WUFS bit in the Interrupt Status 3 (INS3).
Register Name
Address
Value
INT_REL
0x1A
N/A
-
Continue to monitor the physical interrupt INT1 of the accelerometer, if the lack of
acceleration input profile satisfies the criteria previously established for the 0.5g of no motion
detect threshold level in both positive and negative directions of the X, Y, Z axis for more than
0.1 second, then there should be positive latched interrupt present. Also, the BTS bit in
Interrupt Status 3 (INS3) will be set to indicate the back-to-sleep interrupt has fired. INS3 also
provides information regarding which axis/axes caused the wakeup interrupt. Finally, WAKE
bit in STATUS_REG will also be 0 to indicate the sensor is in BACK TO SLEEP mode.
Register Name
Address
Value
INS3
0x18
ins3
if
(ins3 & 0x40)
{
// handle back to sleep event
}
-
Read Interrupt Latch Release (INT_REL) to unlatch (clear) the output interrupt created by the
motion detection function and to clear the WUFS bit in the Interrupt Status 3 (INS3).
Register Name
Address
Value
INT_REL
0x1A
N/A
*Note: The sensor itself is enabled and in run mode. Back-To-Sleep state refers to lack of
motion detected by the sensor that can be contributed to the object’s motion is below the
threshold (e.g. object is at rest).