Loading...
This structure defines Timestamp from gPTP
typedef struct __declspec (align(1)) { uint16_t seconds_msb; uint32_t seconds_lsb; uint32_t nanoseconds; }timestamp;
<StructLayout(LayoutKind.Sequential, Pack:=1)> Public Structure timestamp Dim seconds_msb As UInt16 Dim seconds_lsb As UInt32 Dim nanoseconds As UInt32 End Structure
[StructLayout(LayoutKind.Sequential,Pack=1)] public struct timestamp { public UInt16 seconds_msb; public UInt32 seconds_lsb; public UInt32 nanoseconds; }
Remarks
seconds_msb
Most significant portion of Integer value of the time stamp in seconds.
seconds_lsb
Least significant portion of Integer value of the time stamp in seconds.
nanoseconds
Fractional seconds in nanoseconds