sbgEComBinaryLogAirData.h
Go to the documentation of this file.
1 
23 #ifndef SBG_ECOM_BINARY_LOG_AIR_DATA_H
24 #define SBG_ECOM_BINARY_LOG_AIR_DATA_H
25 
26 #include <sbgCommon.h>
28 
29 //----------------------------------------------------------------------//
30 //- Log Air Data status definitions -//
31 //----------------------------------------------------------------------//
32 
36 #define SBG_ECOM_AIR_DATA_TIME_IS_DELAY (0x0001u << 0)
37 #define SBG_ECOM_AIR_DATA_PRESSURE_ABS_VALID (0x0001u << 1)
38 #define SBG_ECOM_AIR_DATA_ALTITUDE_VALID (0x0001u << 2)
39 #define SBG_ECOM_AIR_DATA_PRESSURE_DIFF_VALID (0x0001u << 3)
40 #define SBG_ECOM_AIR_DATA_AIRPSEED_VALID (0x0001u << 4)
41 #define SBG_ECOM_AIR_DATA_TEMPERATURE_VALID (0x0001u << 5)
43 //----------------------------------------------------------------------//
44 //- Log structure definitions -//
45 //----------------------------------------------------------------------//
46 
50 typedef struct _SbgLogAirData
51 {
52  uint32_t timeStamp;
53  uint16_t status;
54  float pressureAbs;
55  float altitude;
56  float pressureDiff;
57  float trueAirspeed;
60 
61 //----------------------------------------------------------------------//
62 //- Operations -//
63 //----------------------------------------------------------------------//
64 
73 
82 
83 #endif
Used to read/write data from/to a memory buffer stream.
struct _SbgLogAirData SbgLogAirData
Main header file for SBG Systems common C library.
SbgErrorCode sbgEComBinaryLogWriteAirData(SbgStreamBuffer *pOutputStream, const SbgLogAirData *pInputData)
enum _SbgErrorCode SbgErrorCode
SbgErrorCode sbgEComBinaryLogParseAirData(SbgStreamBuffer *pInputStream, SbgLogAirData *pOutputData)


sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:35