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.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/Common/MotionSensor.h
- Revision:
- 24:92cc9c6e4b2b
- Parent:
- 20:c20c8bd5be6b
- Child:
- 28:501726e9220d
diff -r 9da7be2a27c1 -r 92cc9c6e4b2b Components/Common/MotionSensor.h
--- a/Components/Common/MotionSensor.h Fri May 29 16:50:56 2015 +0200
+++ b/Components/Common/MotionSensor.h Wed Jun 03 14:57:57 2015 +0200
@@ -52,8 +52,16 @@
virtual int Init(void*) = 0;
virtual int ReadID(uint8_t*) = 0;
- virtual int Get_X_Axes(int32_t*) = 0;
- virtual int Get_X_Sensitivity(float*) = 0;
+ virtual int Get_X_Axes(int32_t *) = 0;
+ virtual int Get_X_AxesRaw(int16_t *) = 0;
+
+ virtual int Get_X_ODR(float *) = 0;
+ virtual int Set_X_ODR(float) = 0;
+
+ virtual int Get_X_Sensitivity(float *) = 0;
+
+ virtual int Get_X_FS(float *) = 0;
+ virtual int Set_X_FS(float) = 0;
protected:
MotionSensor(void) {};
