33 #ifndef SBG_ECOM_LOG_PTP_H
34 #define SBG_ECOM_LOG_PTP_H
Main header for the SBG Systems common C library.
SbgErrorCode sbgEComLogPtpWriteToStream(const SbgEComLogPtp *pLogData, SbgStreamBuffer *pStreamBuffer)
SbgErrorCode sbgEComLogPtpReadFromStream(SbgEComLogPtp *pLogData, SbgStreamBuffer *pStreamBuffer)
struct _SbgEComLogPtp SbgEComLogPtp
void sbgEComLogPtpZeroInit(SbgEComLogPtp *pLogData)
enum _SbgEComLogPtpTimeScale SbgEComLogPtpTimeScale
enum _SbgEComLogPtpState SbgEComLogPtpState
_SbgEComLogPtpState
Definition: sbgEComLogPtp.h:54
@ SBG_ECOM_LOG_PTP_STATE_DISABLED
Definition: sbgEComLogPtp.h:55
@ SBG_ECOM_LOG_PTP_STATE_PASSIVE
Definition: sbgEComLogPtp.h:58
@ SBG_ECOM_LOG_PTP_STATE_MASTER
Definition: sbgEComLogPtp.h:57
@ SBG_ECOM_LOG_PTP_STATE_FAULTY
Definition: sbgEComLogPtp.h:56
_SbgEComLogPtpTimeScale
Definition: sbgEComLogPtp.h:67
@ SBG_ECOM_LOG_PTP_TIME_SCALE_GPS
Definition: sbgEComLogPtp.h:70
@ SBG_ECOM_LOG_PTP_TIME_SCALE_UTC
Definition: sbgEComLogPtp.h:69
@ SBG_ECOM_LOG_PTP_TIME_SCALE_TAI
Definition: sbgEComLogPtp.h:68
enum _SbgErrorCode SbgErrorCode
Used to read/write data from/to a memory buffer stream.
Definition: sbgEComLogPtp.h:87
uint8_t localClockPriority1
Definition: sbgEComLogPtp.h:94
float clockFreqOffsetStdDev
Definition: sbgEComLogPtp.h:115
uint8_t localClockClass
Definition: sbgEComLogPtp.h:96
float meanPathDelay
Definition: sbgEComLogPtp.h:110
uint16_t localClockLog2Variance
Definition: sbgEComLogPtp.h:98
uint8_t localClockAccuracy
Definition: sbgEComLogPtp.h:97
double timeScaleOffset
Definition: sbgEComLogPtp.h:91
float clockFreqOffset
Definition: sbgEComLogPtp.h:114
uint64_t localClockIdentity
Definition: sbgEComLogPtp.h:93
uint8_t localClockPriority2
Definition: sbgEComLogPtp.h:95
uint32_t timeStamp
Definition: sbgEComLogPtp.h:88
double clockOffset
Definition: sbgEComLogPtp.h:112
SbgEComLogPtpTimeScale timeScale
Definition: sbgEComLogPtp.h:90
float meanPathDelayStdDev
Definition: sbgEComLogPtp.h:111
uint16_t masterClockLog2Variance
Definition: sbgEComLogPtp.h:106
uint8_t localClockTimeSource
Definition: sbgEComLogPtp.h:99
float clockOffsetStdDev
Definition: sbgEComLogPtp.h:113
uint32_t masterIpAddress
Definition: sbgEComLogPtp.h:108
uint8_t masterClockAccuracy
Definition: sbgEComLogPtp.h:105
uint8_t masterClockPriority1
Definition: sbgEComLogPtp.h:102
uint64_t masterClockIdentity
Definition: sbgEComLogPtp.h:101
uint8_t masterClockClass
Definition: sbgEComLogPtp.h:104
SbgEComLogPtpState state
Definition: sbgEComLogPtp.h:89
uint8_t masterClockPriority2
Definition: sbgEComLogPtp.h:103
uint8_t masterClockTimeSource
Definition: sbgEComLogPtp.h:107
Definition: sbgStreamBufferCommon.h:201