For the complete documentation index, see llms.txt. This page is also available as Markdown.

timestamp Structure

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

Item
Description

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

Last updated