33#ifndef SBG_ECOM_LOG_MAG_H
34#define SBG_ECOM_LOG_MAG_H
51#define SBG_ECOM_MAG_MAG_X_BIT (0x00000001u << 0)
52#define SBG_ECOM_MAG_MAG_Y_BIT (0x00000001u << 1)
53#define SBG_ECOM_MAG_MAG_Z_BIT (0x00000001u << 2)
55#define SBG_ECOM_MAG_ACCEL_X_BIT (0x00000001u << 3)
56#define SBG_ECOM_MAG_ACCEL_Y_BIT (0x00000001u << 4)
57#define SBG_ECOM_MAG_ACCEL_Z_BIT (0x00000001u << 5)
59#define SBG_ECOM_MAG_MAGS_IN_RANGE (0x00000001u << 6)
60#define SBG_ECOM_MAG_ACCELS_IN_RANGE (0x00000001u << 7)
62#define SBG_ECOM_MAG_CALIBRATION_OK (0x00000001u << 8)
Main header for the SBG Systems common C library.
#define SBG_DEPRECATED(func)
Definition sbgDefines.h:316
#define SBG_DEPRECATED_TYPEDEF(decl)
Definition sbgDefines.h:349
struct _SbgEComLogMag SbgEComLogMag
SbgErrorCode sbgEComLogMagWriteToStream(const SbgEComLogMag *pLogData, SbgStreamBuffer *pStreamBuffer)
SbgErrorCode sbgEComLogMagReadFromStream(SbgEComLogMag *pLogData, SbgStreamBuffer *pStreamBuffer)
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
struct _SbgStreamBuffer SbgStreamBuffer
Definition sbgEComLogMag.h:75
float magnetometers[3]
Definition sbgEComLogMag.h:78
uint16_t status
Definition sbgEComLogMag.h:77
uint32_t timeStamp
Definition sbgEComLogMag.h:76
float accelerometers[3]
Definition sbgEComLogMag.h:79