based on motion
The awake bit indicates the motion status of the ADXL362: it is high when the
accelerometer is moving and low when it is not. This bit can be mapped to one
of the interrupt pins to provide a motion status pin.
The Activity and Inactivity bits provide pulses when an activity or inactivity
event is detected. These can also be mapped to an interrupt pin to provide an
The ADXL362 offers two interrupt pins to which bits can be mapped
independently, so a motion status indicator and activity/inactivity pulses can
be implemented simultaneously.