20 #ifndef __SBG_ECOM_BINARY_LOG_UTC_H__ 21 #define __SBG_ECOM_BINARY_LOG_UTC_H__ 33 #define SBG_ECOM_CLOCK_STATUS_SHIFT (1u) 34 #define SBG_ECOM_CLOCK_STATUS_MASK (0x000Fu) 35 #define SBG_ECOM_CLOCK_UTC_STATUS_SHIFT (6u) 36 #define SBG_ECOM_CLOCK_UTC_STATUS_MASK (0x000Fu) 41 #define SBG_ECOM_CLOCK_STABLE_INPUT (0x0001u << 0) 42 #define SBG_ECOM_CLOCK_UTC_SYNC (0x0001u << 5) 47 typedef enum _SbgEComClockStatus
enum _SbgEComClockStatus SbgEComClockStatus
#define SBG_ECOM_CLOCK_UTC_STATUS_MASK
#define SBG_ECOM_CLOCK_STATUS_MASK
SBG_INLINE uint16_t sbgEComLogUtcBuildClockStatus(SbgEComClockStatus clockStatus, SbgEComClockUtcStatus utcStatus, uint16_t masks)
Used to read/write data from/to a memory buffer stream.
#define SBG_ECOM_CLOCK_STATUS_SHIFT
SBG_INLINE SbgEComClockStatus sbgEComLogUtcGetClockStatus(uint16_t status)
struct _SbgLogUtcData SbgLogUtcData
enum _SbgEComClockUtcStatus SbgEComClockUtcStatus
SBG_INLINE SbgEComClockUtcStatus sbgEComLogUtcGetClockUtcStatus(uint16_t status)
Main header file for SBG Systems common C library.
SbgErrorCode sbgEComBinaryLogWriteUtcData(SbgStreamBuffer *pOutputStream, const SbgLogUtcData *pInputData)
SbgErrorCode sbgEComBinaryLogParseUtcData(SbgStreamBuffer *pInputStream, SbgLogUtcData *pOutputData)
#define SBG_ECOM_CLOCK_UTC_STATUS_SHIFT
enum _SbgErrorCode SbgErrorCode