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
Dependents: HelloWorld_IKS01A1
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/Common/Imu6Axis.h
- Revision:
- 4:566f2c41dc1d
- Parent:
- 3:088aa5839e0d
--- a/Components/Common/Imu6Axis.h Mon Apr 13 14:44:02 2015 +0200
+++ b/Components/Common/Imu6Axis.h Tue Apr 14 15:32:06 2015 +0200
@@ -37,8 +37,8 @@
*/
/* Define to prevent from recursive inclusion --------------------------------*/
-#ifndef __IMU_6AXIS_H
-#define __IMU_6AXIS_H
+#ifndef __IMU_6AXIS_CLASS_H
+#define __IMU_6AXIS_CLASS_H
/* Includes ------------------------------------------------------------------*/
#include "mbed.h"
@@ -50,15 +50,15 @@
class Imu6Axis
{
public:
- virtual IMU_6AXIS_StatusTypeDef Init(IMU_6AXIS_InitTypeDef&) = 0;
- virtual IMU_6AXIS_StatusTypeDef Read_XG_ID(uint8_t&) = 0;
- virtual IMU_6AXIS_StatusTypeDef Get_X_Axes(int32_t&) = 0;
- virtual IMU_6AXIS_StatusTypeDef Get_G_Axes(int32_t&) = 0;
- virtual IMU_6AXIS_StatusTypeDef Get_X_Sensitivity(float&) = 0;
- virtual IMU_6AXIS_StatusTypeDef Get_G_Sensitivity(float&) = 0;
+ virtual IMU_6AXIS_StatusTypeDef Init(IMU_6AXIS_InitTypeDef*) = 0;
+ virtual IMU_6AXIS_StatusTypeDef Read_XG_ID(uint8_t*) = 0;
+ virtual IMU_6AXIS_StatusTypeDef Get_X_Axes(int32_t*) = 0;
+ virtual IMU_6AXIS_StatusTypeDef Get_G_Axes(int32_t*) = 0;
+ virtual IMU_6AXIS_StatusTypeDef Get_X_Sensitivity(float*) = 0;
+ virtual IMU_6AXIS_StatusTypeDef Get_G_Sensitivity(float*) = 0;
protected:
Imu6Axis(void) {};
};
-#endif /* __IMU_6AXIS_H */
+#endif /* __IMU_6AXIS_CLASS_H */
