external
sbgECom
src
binaryLogs
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
>
26
#include <
streamBuffer/sbgStreamBuffer.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
65
SbgErrorCode
sbgEComBinaryLogParseDepth
(
SbgStreamBuffer
*pInputStream,
SbgLogDepth
*pOutputData);
66
74
SbgErrorCode
sbgEComBinaryLogWriteDepth
(
SbgStreamBuffer
*pOutputStream,
const
SbgLogDepth
*pInputData);
75
76
#endif
_SbgLogDepth
Definition:
sbgEComBinaryLogDepth.h:46
_SbgLogDepth::pressureAbs
float pressureAbs
Definition:
sbgEComBinaryLogDepth.h:50
sbgEComBinaryLogParseDepth
SbgErrorCode sbgEComBinaryLogParseDepth(SbgStreamBuffer *pInputStream, SbgLogDepth *pOutputData)
Definition:
sbgEComBinaryLogDepth.c:7
sbgCommon.h
sbgEComBinaryLogWriteDepth
SbgErrorCode sbgEComBinaryLogWriteDepth(SbgStreamBuffer *pOutputStream, const SbgLogDepth *pInputData)
Definition:
sbgEComBinaryLogDepth.c:27
_SbgLogDepth::status
uint16_t status
Definition:
sbgEComBinaryLogDepth.h:49
_SbgLogDepth::timeStamp
uint32_t timeStamp
Definition:
sbgEComBinaryLogDepth.h:48
SbgLogDepth
struct _SbgLogDepth SbgLogDepth
_SbgStreamBuffer
Definition:
sbgStreamBufferCommon.h:188
sbgStreamBuffer.h
SbgErrorCode
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
_SbgLogDepth::altitude
float altitude
Definition:
sbgEComBinaryLogDepth.h:51
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40