First Commit as a new library
Dependents: Host_Software_MAX32664GWEB_HR_wrist Host_Software_MAX32664GWEC_SpO2_HR Host_Software_MAX32664GWEB_HR_EXTENDED Host_Software_MAX32664GWEC_SpO2_HR-_EXTE ... more
Revision 4:ebac8c8f6347, committed 2016-12-09
- Comitter:
- j3
- Date:
- Fri Dec 09 00:45:10 2016 +0000
- Parent:
- 3:e1770675eca4
- Child:
- 5:35e032c8d8aa
- Commit message:
- Fixed typo, added power modes
Changed in this revision
| bmi160.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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
///