sbgEComBinaryLogDepth.h
Go to the documentation of this file.
1 
22 #ifndef SBG_ECOM_BINARY_LOG_DEPTH_H
23 #define SBG_ECOM_BINARY_LOG_DEPTH_H
24 
25 #include <sbgCommon.h>
27 
28 //----------------------------------------------------------------------//
29 //- Log Air Data status definitions -//
30 //----------------------------------------------------------------------//
31 
35 #define SBG_ECOM_DEPTH_TIME_IS_DELAY (0x0001u << 0)
36 #define SBG_ECOM_DEPTH_PRESSURE_ABS_VALID (0x0001u << 1)
37 #define SBG_ECOM_DEPTH_ALTITUDE_VALID (0x0001u << 2)
39 //----------------------------------------------------------------------//
40 //- Log structure definitions -//
41 //----------------------------------------------------------------------//
42 
46 typedef struct _SbgLogDepth
47 {
48  uint32_t timeStamp;
49  uint16_t status;
50  float pressureAbs;
51  float altitude;
52 } SbgLogDepth;
53 
54 //----------------------------------------------------------------------//
55 //- Operations -//
56 //----------------------------------------------------------------------//
57 
66 
74 SbgErrorCode sbgEComBinaryLogWriteDepth(SbgStreamBuffer *pOutputStream, const SbgLogDepth *pInputData);
75 
76 #endif
SbgErrorCode sbgEComBinaryLogWriteDepth(SbgStreamBuffer *pOutputStream, const SbgLogDepth *pInputData)
Used to read/write data from/to a memory buffer stream.
Main header file for SBG Systems common C library.
SbgErrorCode sbgEComBinaryLogParseDepth(SbgStreamBuffer *pInputStream, SbgLogDepth *pOutputData)
struct _SbgLogDepth SbgLogDepth
enum _SbgErrorCode SbgErrorCode


sbg_driver
Author(s): SBG Systems
autogenerated on Thu Oct 22 2020 03:47:22