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
sbgEComBinaryLogEvent.h
Go to the documentation of this file.
1
20
#ifndef __SBG_ECOM_BINARY_LOG_EVENT_H__
21
#define __SBG_ECOM_BINARY_LOG_EVENT_H__
22
23
#include <
sbgCommon.h
>
24
#include <
streamBuffer/sbgStreamBuffer.h
>
25
26
//----------------------------------------------------------------------//
27
//- Log marker events definitions -//
28
//----------------------------------------------------------------------//
29
33
#define SBG_ECOM_EVENT_OVERFLOW (0x00000001u << 0)
34
#define SBG_ECOM_EVENT_OFFSET_0_VALID (0x00000001u << 1)
35
#define SBG_ECOM_EVENT_OFFSET_1_VALID (0x00000001u << 2)
36
#define SBG_ECOM_EVENT_OFFSET_2_VALID (0x00000001u << 3)
37
#define SBG_ECOM_EVENT_OFFSET_3_VALID (0x00000001u << 4)
39
//----------------------------------------------------------------------//
40
//- Log structure definitions -//
41
//----------------------------------------------------------------------//
42
46
typedef
struct
_SbgLogEvent
47
{
48
uint32_t
timeStamp
;
49
uint16_t
status
;
50
uint16_t
timeOffset0
;
51
uint16_t
timeOffset1
;
52
uint16_t
timeOffset2
;
53
uint16_t
timeOffset3
;
54
}
SbgLogEvent
;
55
56
//----------------------------------------------------------------------//
57
//- Operations -//
58
//----------------------------------------------------------------------//
59
66
SbgErrorCode
sbgEComBinaryLogParseEvent
(
SbgStreamBuffer
*pInputStream,
SbgLogEvent
*pOutputData);
67
74
SbgErrorCode
sbgEComBinaryLogWriteEvent
(
SbgStreamBuffer
*pOutputStream,
const
SbgLogEvent
*pInputData);
75
76
#endif
_SbgLogEvent::timeOffset0
uint16_t timeOffset0
Definition:
sbgEComBinaryLogEvent.h:50
_SbgLogEvent::timeOffset1
uint16_t timeOffset1
Definition:
sbgEComBinaryLogEvent.h:51
_SbgLogEvent::timeStamp
uint32_t timeStamp
Definition:
sbgEComBinaryLogEvent.h:48
sbgCommon.h
_SbgLogEvent
Definition:
sbgEComBinaryLogEvent.h:46
SbgLogEvent
struct _SbgLogEvent SbgLogEvent
_SbgLogEvent::timeOffset3
uint16_t timeOffset3
Definition:
sbgEComBinaryLogEvent.h:53
sbgEComBinaryLogParseEvent
SbgErrorCode sbgEComBinaryLogParseEvent(SbgStreamBuffer *pInputStream, SbgLogEvent *pOutputData)
Definition:
sbgEComBinaryLogEvent.c:13
_SbgLogEvent::timeOffset2
uint16_t timeOffset2
Definition:
sbgEComBinaryLogEvent.h:52
_SbgStreamBuffer
Definition:
sbgStreamBufferCommon.h:188
sbgStreamBuffer.h
sbgEComBinaryLogWriteEvent
SbgErrorCode sbgEComBinaryLogWriteEvent(SbgStreamBuffer *pOutputStream, const SbgLogEvent *pInputData)
Definition:
sbgEComBinaryLogEvent.c:40
SbgErrorCode
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
_SbgLogEvent::status
uint16_t status
Definition:
sbgEComBinaryLogEvent.h:49
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40