![]() |
NHS31xx SW API
|
Provides information about the current state of the accelerometer. To be refreshed when an interrupt is raised by the accelerometer. The information is assembled from multiple registers and translated into a non-accelerometer-specific format
Data Fields | |
bool | thresholdsExceeded |
ACCEL_AXES_FLAGS_T | flags |
bool | orientationChanged |
int | tiltStatus |
bool | timerExpired |
bool thresholdsExceeded |
true
when an acceleration higher than the upper level, or lower than the upper level has been detected.
ACCEL_AXES_FLAGS_T flags |
If thresholdsExceeded
is true
, this structure lists which axes were experiencing the measured acceleration.
bool orientationChanged |
true
when an orientation change has been detected, given the programmed constraints.
int tiltStatus |
If orientationChanged
is true
, this field lists the new orientation as a bitmask of OR'd enumerations of ACCEL_TILT_STATUS_T
.
bool timerExpired |
true
when the accelerometer has sampled acceleration values for the configured time duration.