aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/drv_accel.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drivers/drv_accel.h')
-rw-r--r--apps/drivers/drv_accel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/drivers/drv_accel.h b/apps/drivers/drv_accel.h
index 370cc5d87..65ef8420f 100644
--- a/apps/drivers/drv_accel.h
+++ b/apps/drivers/drv_accel.h
@@ -50,10 +50,15 @@
* structure.
*/
struct accel_report {
+ uint64_t timestamp;
float x;
float y;
float z;
- uint64_t timestamp;
+ float range_m_s2;
+ float scaling;
+ uint16_t x_raw;
+ uint16_t y_raw;
+ uint16_t z_raw;
};
/** accel scaling factors; Vout = (Vin * Vscale) + Voffset */