mbgtools-lx
4.2.8
|
Macros | |
#define | MAX_N_MULTI_REF_TYPES 32 |
Theoretical maximum number of multi ref input signal types. More... | |
#define | DEFAULT_MULTI_REF_NAMES |
Names of known ref time sources. More... | |
#define | DEFAULT_MULTI_REF_NAMES_SHORT |
Short names of supported ref time sources. More... | |
Common definitions used with both the old and the extended multi ref API.
#define DEFAULT_MULTI_REF_NAMES |
Names of known ref time sources.
Definition at line 6457 of file gpsdefs.h.
Referenced by mbg_get_all_ucap_info().
#define DEFAULT_MULTI_REF_NAMES_SHORT |
Short names of supported ref time sources.
Used e.g. to configure a particular input signal type
#define HAS_MULTI_REF_10MHZ ( 1UL << MULTI_REF_10MHZ ) |
see MULTI_REF_10MHZ
#define HAS_MULTI_REF_10MHZ_PPS ( 1UL << MULTI_REF_10MHZ_PPS ) |
#define HAS_MULTI_REF_EXT_OSC ( 1UL << MULTI_REF_EXT_OSC ) |
#define HAS_MULTI_REF_FREQ ( 1UL << MULTI_REF_FREQ ) |
see MULTI_REF_FREQ
#define HAS_MULTI_REF_GPIO ( 1UL << MULTI_REF_GPIO ) |
see MULTI_REF_GPIO
#define HAS_MULTI_REF_GPS ( 1UL << MULTI_REF_GPS ) |
Bit masks associated with multi ref types.
Used to indicate which multi ref types are supported, e.g. in XMULTI_REF_INFO::supp_ref or MULTI_REF_INFO::supp_ref.
see MULTI_REF_GPS
#define HAS_MULTI_REF_GRC ( 1UL << MULTI_REF_GRC ) |
see MULTI_REF_GRC
#define HAS_MULTI_REF_HAVEQUICK ( 1UL << MULTI_REF_HAVEQUICK ) |
#define HAS_MULTI_REF_INTERNAL ( 1UL << MULTI_REF_INTERNAL ) |
#define HAS_MULTI_REF_IRIG ( 1UL << MULTI_REF_IRIG ) |
see MULTI_REF_IRIG
#define HAS_MULTI_REF_LWR ( 1UL << MULTI_REF_LWR ) |
see MULTI_REF_LWR
#define HAS_MULTI_REF_NTP ( 1UL << MULTI_REF_NTP ) |
see MULTI_REF_NTP
#define HAS_MULTI_REF_PPS ( 1UL << MULTI_REF_PPS ) |
see MULTI_REF_PPS
#define HAS_MULTI_REF_PPS_STRING ( 1UL << MULTI_REF_PPS_STRING ) |
#define HAS_MULTI_REF_PTP ( 1UL << MULTI_REF_PTP ) |
see MULTI_REF_PTP
#define HAS_MULTI_REF_PTP_E1 ( 1UL << MULTI_REF_PTP_E1 ) |
see MULTI_REF_PTP_E1
#define HAS_MULTI_REF_PZF ( 1UL << MULTI_REF_PZF ) |
see MULTI_REF_PZF
#define HAS_MULTI_REF_SYNCE ( 1UL << MULTI_REF_SYNCE ) |
see MULTI_REF_SYNCE
#define MAX_N_MULTI_REF_TYPES 32 |
Theoretical maximum number of multi ref input signal types.
Actually only N_MULTI_REF types have been defined, but N_MULTI_REF must not exceed the number of bits which can be hold by a uint32_t type.
Definition at line 6449 of file gpsdefs.h.
Referenced by mbg_get_all_ucap_info().
enum MULTI_REF_TYPES |
Enumeration of all known types of reference time source.
All known types of input signal which may possibly be supported by devices which support several different input signals, i.e. have the GPS_HAS_MULTI_REF or GPS_HAS_XMULTI_REF bit set in RECEIVER_INFO::features. Not all devices support each known type of input signal.
Enumerator | |
---|---|
MULTI_REF_NONE | This ref type must not be used as index, but marks particular XMULTI_REF_SETTINGS structures as "unused". It is only supported if bit XMRIF_BIT_MRF_NONE_SUPP is set. |
MULTI_REF_GPS | standard GPS |
MULTI_REF_10MHZ | 10 MHz input frequency |
MULTI_REF_PPS | 1 PPS input signal |
MULTI_REF_10MHZ_PPS | combined 10 MHz plus PPS |
MULTI_REF_IRIG | IRIG input. |
MULTI_REF_NTP | Network Time Protocol (NTP) |
MULTI_REF_PTP | Precision Time Protocol (PTP/IEEE1588) |
MULTI_REF_PTP_E1 | PTP over E1. |
MULTI_REF_FREQ | fixed frequency |
MULTI_REF_PPS_STRING | 1 PPS in addition to time string |
MULTI_REF_GPIO | variable input signal via GPIO |
MULTI_REF_INTERNAL | reserved, used internally by firmware only |
MULTI_REF_PZF | DCF77 PZF providing much more accuracy than a standard LWR. |
MULTI_REF_LWR | long wave receiver. e.g. DCF77 AM, WWVB, MSF, JJY |
MULTI_REF_GRC | Glonass / GPS receiver. |
MULTI_REF_HAVEQUICK | HaveQuick input. |
MULTI_REF_EXT_OSC | external oscillator disciplined and looped back via 1 PPS I/O |
MULTI_REF_SYNCE | Synchronous Ethernet, needs (external) ethernet interface. |
N_MULTI_REF | the number of defined sources, must not exceed MAX_N_MULTI_REF_TYPES |