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: X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/Common/Imu6Axes.h
- Revision:
- 18:1cb4ae9d83e7
- Parent:
- 5:8bab0f419849
--- a/Components/Common/Imu6Axes.h Wed May 27 12:03:41 2015 +0200
+++ b/Components/Common/Imu6Axes.h Fri May 29 14:23:22 2015 +0200
@@ -42,7 +42,6 @@
/* Includes ------------------------------------------------------------------*/
#include "mbed.h"
-#include "imu_6axes.h"
/* Classes ------------------------------------------------------------------*/
/** An abstract class for Imu6Axes components
@@ -50,12 +49,12 @@
class Imu6Axes
{
public:
- virtual IMU_6AXES_StatusTypeDef Init(IMU_6AXES_InitTypeDef*) = 0;
- virtual IMU_6AXES_StatusTypeDef Read_XG_ID(uint8_t*) = 0;
- virtual IMU_6AXES_StatusTypeDef Get_X_Axes(int32_t*) = 0;
- virtual IMU_6AXES_StatusTypeDef Get_G_Axes(int32_t*) = 0;
- virtual IMU_6AXES_StatusTypeDef Get_X_Sensitivity(float*) = 0;
- virtual IMU_6AXES_StatusTypeDef Get_G_Sensitivity(float*) = 0;
+ virtual int Init(void*) = 0;
+ virtual int Read_XG_ID(uint8_t*) = 0;
+ virtual int Get_X_Axes(int32_t*) = 0;
+ virtual int Get_G_Axes(int32_t*) = 0;
+ virtual int Get_X_Sensitivity(float*) = 0;
+ virtual int Get_G_Sensitivity(float*) = 0;
protected:
Imu6Axes(void) {};
