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:
- 10:9e219f2f1fb3
- Parent:
- 9:ca6b5fecdd63
- Child:
- 11:24602ff07e9f
--- a/bmi160.h Tue Dec 20 01:08:33 2016 +0000 +++ b/bmi160.h Tue Dec 20 01:27:13 2016 +0000 @@ -451,6 +451,20 @@ /// ///@returns 0 on success, non 0 on failure int32_t getAccXYZ(SensorData &data, AccConfig accConfig); + + + ///@brief Get sensor time.\n + /// + ///On Entry: + ///@param[in] data - pointer to float for holding data + /// + ///On Exit: + ///@param[out] data - time in seconds, as float + /// + ///@returns returns 0 on success, non 0 on failure + int32_t getSensorTime(float *data); + + };