mbgtools-lx
4.2.8
|
A structure used to hold time in GPS format. More...
#include <gpsdefs.h>
Data Fields | |
uint16_t | wn |
the week number since the GPS system has been put into operation More... | |
uint32_t | sec |
the second of that week More... | |
uint32_t | tick |
fractions of a second, 1/RECEIVER_INFO::ticks_per_sec units More... | |
A structure used to hold time in GPS format.
Date and time refer to the linear time scale defined by GPS, with the epoch starting at UTC midnight at the beginning of January 6, 1980.
GPS time is counted by the week numbers since the epoch, plus second of the week, plus fraction of the second. The week number transmitted by the satellites rolls over from 1023 to 0, but Meinberg devices just continue to count the weeks beyond the 1024 week limit to keep the receiver's internal time.
UTC time differs from GPS time since a number of leap seconds have been inserted in the UTC time scale after the GPS epoch. The number of leap seconds is disseminated by the satellites using the UTC parameter set, which also provides info on pending leap seconds.
uint32_t T_GPS::sec |
the second of that week
Definition at line 2566 of file gpsdefs.h.
Referenced by show_time_and_status(), and show_utc_info().
uint32_t T_GPS::tick |
fractions of a second, 1/RECEIVER_INFO::ticks_per_sec units
Definition at line 2567 of file gpsdefs.h.
Referenced by show_time_and_status(), and show_utc_info().
uint16_t T_GPS::wn |
the week number since the GPS system has been put into operation
Definition at line 2565 of file gpsdefs.h.
Referenced by show_time_and_status(), and show_utc_info().