mbgtools-lx  4.2.8
NTP_TSTAMP Struct Reference

Structure that represents a timestamp in NTP Timestamp Format. More...

#include <gpsdefs.h>

Data Fields

uint32_t seconds
 seconds since NTP epoch, see NTP_SEC_BIAS More...
 
uint32_t fractions
 binary fractional part of a second, 0xFFFFFFFF -> 0.9999999... s (resolution 2^-32s =~ 233 ps) More...
 

Detailed Description

Structure that represents a timestamp in NTP Timestamp Format.

Definition at line 16484 of file gpsdefs.h.

Field Documentation

◆ fractions

uint32_t NTP_TSTAMP::fractions

binary fractional part of a second, 0xFFFFFFFF -> 0.9999999... s (resolution 2^-32s =~ 233 ps)

Definition at line 16487 of file gpsdefs.h.

Referenced by ntp_tstamp_to_double(), ntp_tstamp_to_nanotime_64(), ntp_tstamp_to_timespec(), snprint_ntp_tstamp_to_iso_ms(), snprint_ntp_tstamp_to_iso_ns(), snprint_ntp_tstamp_to_iso_us(), str_ntp_hex_to_ntp_tstamp(), and timespec_to_ntp_tstamp().

◆ seconds


The documentation for this struct was generated from the following file: