20 #ifndef __SBG_ECOM_BINARY_LOG_MAG_H__ 21 #define __SBG_ECOM_BINARY_LOG_MAG_H__ 33 #define SBG_ECOM_MAG_MAG_X_BIT (0x00000001u << 0) 34 #define SBG_ECOM_MAG_MAG_Y_BIT (0x00000001u << 1) 35 #define SBG_ECOM_MAG_MAG_Z_BIT (0x00000001u << 2) 37 #define SBG_ECOM_MAG_ACCEL_X_BIT (0x00000001u << 3) 38 #define SBG_ECOM_MAG_ACCEL_Y_BIT (0x00000001u << 4) 39 #define SBG_ECOM_MAG_ACCEL_Z_BIT (0x00000001u << 5) 41 #define SBG_ECOM_MAG_MAGS_IN_RANGE (0x00000001u << 6) 42 #define SBG_ECOM_MAG_ACCELS_IN_RANGE (0x00000001u << 7) 44 #define SBG_ECOM_MAG_CALIBRATION_OK (0x00000001u << 8) 46 //----------------------------------------------------------------------// struct _SbgLogMagCalib SbgLogMagCalib
SbgErrorCode sbgEComBinaryLogWriteMagCalibData(SbgStreamBuffer *pOutputStream, const SbgLogMagCalib *pInputData)
struct _SbgLogMag SbgLogMag
Used to read/write data from/to a memory buffer stream.
SbgErrorCode sbgEComBinaryLogParseMagCalibData(SbgStreamBuffer *pInputStream, SbgLogMagCalib *pOutputData)
SbgErrorCode sbgEComBinaryLogParseMagData(SbgStreamBuffer *pInputStream, SbgLogMag *pOutputData)
Main header file for SBG Systems common C library.
SbgErrorCode sbgEComBinaryLogWriteMagData(SbgStreamBuffer *pOutputStream, const SbgLogMag *pInputData)
enum _SbgErrorCode SbgErrorCode