pub struct Status {
pub fifo_threshold: bool,
pub wake_up_event: bool,
pub sleep_event: bool,
pub double_tap_event: bool,
pub single_tap_event: bool,
pub position_change_event: bool,
pub free_fall_event: bool,
pub data_ready: bool,
}Expand description
Struct representation of the Status register
Fields§
§fifo_threshold: boolFIFO threshold status
false: FIFO filling is lower than the threshold level
true: FIFO filling is equal or higher than the threshold level
wake_up_event: boolWake up event detection
false: no wake-up event detected
true: wake-up event detected
sleep_event: boolSleep event status
false: no sleep event detected
true: sleep event detected
double_tap_event: boolDouble-tap event status
false: no tap event detected
true: tap event detected
single_tap_event: boolSingle-tap event status
false: no tap event detected
true: tap event detected
position_change_event: boolSource of change in position (portrait/landscape/face-up/face-down)
false: no change in position detected
true: change in position detected
free_fall_event: boolFree-fall event detection status
false: no free-fall event detected
true: free-fall event detected
data_ready: boolData ready status
false: no data is available
true: X-, Y- and Z-axis new data available