mbgtools-lx
4.2.8
|
Data Structures | |
struct | MBG_TIME_SCALE_SETTINGS |
Time scale configuration settings. More... | |
struct | MBG_TIME_SCALE_INFO |
Time scale configuration settings plus capabilities. More... | |
Macros | |
#define | MBG_TIME_SCALE_STRS |
#define | GPS_TAI_OFFSET 19 |
The constant time offset between the GPS and TAI time scales, in seconds. More... | |
#define | _mbg_swab_mbg_time_scale_settings(_p) _nop_macro_fnc() |
#define | _mbg_swab_mbg_time_scale_info(_p) |
Enumerations | |
enum | MBG_TIME_SCALES { MBG_TIME_SCALE_DEFAULT, MBG_TIME_SCALE_GPS, MBG_TIME_SCALE_TAI, N_MBG_TIME_SCALE } |
Known time scales. More... | |
enum | MBG_TIME_SCALE_MASKS { MBG_TIME_SCALE_MSK_DEFAULT = ( 1UL << MBG_TIME_SCALE_DEFAULT ), MBG_TIME_SCALE_MSK_GPS = ( 1UL << MBG_TIME_SCALE_GPS ), MBG_TIME_SCALE_MSK_TAI = ( 1UL << MBG_TIME_SCALE_TAI ) } |
Bit masks for known time scales. More... | |
Used to configure the GPS receiver's basic time scale. By default this is UTC which can optionally be converted to some local time. However, some applications prefer TAI or pure GPS time. This can be configured using the structures below if the GPS_HAS_TIME_SCALE flag is set in RECEIVER_INFO::features.
#define _mbg_swab_mbg_time_scale_info | ( | _p | ) |
Definition at line 5527 of file gpsdefs.h.
Referenced by mbg_get_time_scale_info(), and mbgextio_get_time_scale_info().
#define _mbg_swab_mbg_time_scale_settings | ( | _p | ) | _nop_macro_fnc() |
Definition at line 5512 of file gpsdefs.h.
Referenced by mbg_set_time_scale_settings(), and mbgextio_set_time_scale_settings().
#define GPS_TAI_OFFSET 19 |
#define MBG_TIME_SCALE_STRS |
enum MBG_TIME_SCALE_MASKS |
Bit masks for known time scales.
Enumerator | |
---|---|
MBG_TIME_SCALE_MSK_DEFAULT | |
MBG_TIME_SCALE_MSK_GPS | |
MBG_TIME_SCALE_MSK_TAI |
enum MBG_TIME_SCALES |
Known time scales.
Enumerator | |
---|---|
MBG_TIME_SCALE_DEFAULT | UTC or local time according to UTC parameters and TZDL configuration |
MBG_TIME_SCALE_GPS | GPS time as sent by the satellites, monotonical. |
MBG_TIME_SCALE_TAI | TAI, i.e. GPS time plus constant offset (see GPS_TAI_OFFSET) |
N_MBG_TIME_SCALE |