20 #ifndef __SBG_ECOM_BINARY_LOG_IMU_H__ 21 #define __SBG_ECOM_BINARY_LOG_IMU_H__ 33 #define SBG_ECOM_IMU_COM_OK (0x00000001u << 0) 34 #define SBG_ECOM_IMU_STATUS_BIT (0x00000001u << 1) 36 #define SBG_ECOM_IMU_ACCEL_X_BIT (0x00000001u << 2) 37 #define SBG_ECOM_IMU_ACCEL_Y_BIT (0x00000001u << 3) 38 #define SBG_ECOM_IMU_ACCEL_Z_BIT (0x00000001u << 4) 40 #define SBG_ECOM_IMU_GYRO_X_BIT (0x00000001u << 5) 41 #define SBG_ECOM_IMU_GYRO_Y_BIT (0x00000001u << 6) 42 #define SBG_ECOM_IMU_GYRO_Z_BIT (0x00000001u << 7) 44 #define SBG_ECOM_IMU_ACCELS_IN_RANGE (0x00000001u << 8) 45 #define SBG_ECOM_IMU_GYROS_IN_RANGE (0x00000001u << 9) 47 //----------------------------------------------------------------------// SbgErrorCode sbgEComBinaryLogWriteFastImuData(SbgStreamBuffer *pOutputStream, const SbgLogFastImuData *pInputData)
struct _SbgLogImuData SbgLogImuData
Used to read/write data from/to a memory buffer stream.
struct _SbgLogFastImuData SbgLogFastImuData
SbgErrorCode sbgEComBinaryLogParseFastImuData(SbgStreamBuffer *pInputStream, SbgLogFastImuData *pOutputData)
SbgErrorCode sbgEComBinaryLogWriteImuData(SbgStreamBuffer *pOutputStream, const SbgLogImuData *pInputData)
SbgErrorCode sbgEComBinaryLogParseImuData(SbgStreamBuffer *pInputStream, SbgLogImuData *pOutputData)
Main header file for SBG Systems common C library.
enum _SbgErrorCode SbgErrorCode