Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Host_Software_MAX32664GWEB_HR_wrist Host_Software_MAX32664GWEC_SpO2_HR Host_Software_MAX32664GWEB_HR_EXTENDED Host_Software_MAX32664GWEC_SpO2_HR-_EXTE ... more
Diff: bmi160.h
- Revision:
- 4:ebac8c8f6347
- Parent:
- 3:e1770675eca4
- Child:
- 5:35e032c8d8aa
diff -r e1770675eca4 -r ebac8c8f6347 bmi160.h
--- a/bmi160.h Fri Dec 09 00:29:29 2016 +0000
+++ b/bmi160.h Fri Dec 09 00:45:10 2016 +0000
@@ -188,11 +188,19 @@
ERROR_2, ///<Listed as error
LPM_INT_PFD, ///<Low-power mode and interrupt uses pre-filtered
///<data
- ODR_MISMATCH = 0x06, ///<ODRs of enabled sensors in headless mode do not
- ///<match
+ ODR_MISMATCH = 0x06, ///<ODRs of enabled sensors in headerless mode do
+ ///<not match
PFD_USED_LPM ///<Pre-filtered data are used in low power mode
};
+ enum PowerModes
+ {
+ SUSPEND = 0, ///<Acc and Gyro, No sampling, No FIFO data readout
+ NORMAL, ///<Acc and Gyro, Full chip operation
+ LOW_POWER, ///<Acc duty-cycling between suspend and normal
+ FAST_START_UP ///<Gyro start up delay time to normal mode <= 10 ms
+ };
+
///@brief BMI160 Destructor.\n
///