Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Enumerations
Classes
Class List
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
c
d
e
f
g
i
l
m
o
p
r
s
t
u
w
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
c
d
f
g
i
m
n
s
t
u
Functions
m
s
t
Variables
Typedefs
d
f
i
s
u
Enumerations
_
Enumerator
s
Macros
_
c
f
i
n
s
t
external
sbgECom
src
binaryLogs
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
>
27
#include <
streamBuffer/sbgStreamBuffer.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
;
58
float
airTemperature
;
59
}
SbgLogAirData
;
60
61
//----------------------------------------------------------------------//
62
//- Operations -//
63
//----------------------------------------------------------------------//
64
72
SbgErrorCode
sbgEComBinaryLogParseAirData
(
SbgStreamBuffer
*pInputStream,
SbgLogAirData
*pOutputData);
73
81
SbgErrorCode
sbgEComBinaryLogWriteAirData
(
SbgStreamBuffer
*pOutputStream,
const
SbgLogAirData
*pInputData);
82
83
#endif
_SbgLogAirData::altitude
float altitude
Definition:
sbgEComBinaryLogAirData.h:55
_SbgLogAirData::trueAirspeed
float trueAirspeed
Definition:
sbgEComBinaryLogAirData.h:57
_SbgLogAirData
Definition:
sbgEComBinaryLogAirData.h:50
sbgEComBinaryLogWriteAirData
SbgErrorCode sbgEComBinaryLogWriteAirData(SbgStreamBuffer *pOutputStream, const SbgLogAirData *pInputData)
Definition:
sbgEComBinaryLogAirData.c:43
sbgEComBinaryLogParseAirData
SbgErrorCode sbgEComBinaryLogParseAirData(SbgStreamBuffer *pInputStream, SbgLogAirData *pOutputData)
Definition:
sbgEComBinaryLogAirData.c:7
sbgCommon.h
_SbgLogAirData::pressureAbs
float pressureAbs
Definition:
sbgEComBinaryLogAirData.h:54
SbgLogAirData
struct _SbgLogAirData SbgLogAirData
_SbgLogAirData::timeStamp
uint32_t timeStamp
Definition:
sbgEComBinaryLogAirData.h:52
_SbgStreamBuffer
Definition:
sbgStreamBufferCommon.h:188
sbgStreamBuffer.h
_SbgLogAirData::pressureDiff
float pressureDiff
Definition:
sbgEComBinaryLogAirData.h:56
SbgErrorCode
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
_SbgLogAirData::airTemperature
float airTemperature
Definition:
sbgEComBinaryLogAirData.h:58
_SbgLogAirData::status
uint16_t status
Definition:
sbgEComBinaryLogAirData.h:53
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40