mbgtools-lx  4.2.8
HaveQuick definitions

Data Structures

struct  HAVEQUICK_SETTINGS
 Configuration settings for a HaveQuick input or output. More...
 
struct  HAVEQUICK_INFO
 Current settings and capabilities of a HaveQuick input or output. More...
 

Macros

#define HQ_FMT_NAME_STANAG4246_1   "STANAG4246 1"
 
#define HQ_FMT_NAME_STANAG4246_2   "STANAG4246 2"
 
#define HQ_FMT_NAME_STANAG4246_PTTI   "STANAG4246 PTTI"
 
#define HQ_FMT_NAME_STANAG4372_SATURN_1   "STANAG4372 SATURN 1"
 
#define HQ_FMT_NAME_STANAG4372_SATURN_2   "STANAG4372 SATURN 2"
 
#define HQ_FMT_NAME_STANAG4430_EXTD   "STANAG4430 EXTD"
 
#define HQ_FMT_SHRT_NAME_STANAG4246_1   "STG4246 1"
 
#define HQ_FMT_SHRT_NAME_STANAG4246_2   "STG4246 2"
 
#define HQ_FMT_SHRT_NAME_STANAG4246_PTTI   "STG4246 PTTI"
 
#define HQ_FMT_SHRT_NAME_STANAG4372_SATURN_1   "STG4372 SATURN1"
 
#define HQ_FMT_SHRT_NAME_STANAG4372_SATURN_2   "STG4372 SATURN2"
 
#define HQ_FMT_SHRT_NAME_STANAG4430_EXTD   "STG4430 EXTD"
 
#define DEFAULT_HQ_FMT_NAMES
 
#define DEFAULT_HQ_SHRT_FMT_NAMES
 
#define _mbg_swab_havequick_settings(_p)
 
#define _mbg_swab_havequick_info(_p)
 

Enumerations

enum  HAVEQUICK_FORMATS {
  HQ_FMT_STANAG4246_1, HQ_FMT_STANAG4246_2, HQ_FMT_STANAG4246_PTTI, HQ_FMT_STANAG4372_SATURN_1,
  HQ_FMT_STANAG4372_SATURN_2, HQ_FMT_STANAG4430_EXTD, N_HQ_FMT
}
 Enumeration of HaveQuick formats. More...
 
enum  HAVEQUICK_FORMAT_MASKS {
  HQ_MSK_STANAG4246_1 = ( 1UL << HQ_FMT_STANAG4246_1 ), HQ_MSK_STANAG4246_2 = ( 1UL << HQ_FMT_STANAG4246_2 ), HQ_MSK_STANAG4246_PTTI = ( 1UL << HQ_FMT_STANAG4246_PTTI ), HQ_MSK_STANAG4372_SATURN_1 = ( 1UL << HQ_FMT_STANAG4372_SATURN_1 ),
  HQ_MSK_STANAG4372_SATURN_2 = ( 1UL << HQ_FMT_STANAG4372_SATURN_2 ), HQ_MSK_STANAG4430_EXTD = ( 1UL << HQ_FMT_STANAG4430_EXTD )
}
 Bit masks associated with the enumerated HaveQuick formats. More...
 
enum  HAVEQUICK_FLAG_BITS { HQ_FLAG_TX_GEN_LOCAL_TIME, HQ_FLAG_SIGNAL_INVERTED, HQ_FLAG_USE_EXT_PPS, N_HQ_FLAG_BITS }
 Known HaveQuick control flags. More...
 
enum  HAVEQUICK_FLAG_MASKS { HQ_MSK_TX_GEN_LOCAL_TIME = ( 1UL << HQ_FLAG_TX_GEN_LOCAL_TIME ), HQ_MSK_SIGNAL_INVERTED = ( 1UL << HQ_FLAG_SIGNAL_INVERTED ), HQ_MSK_USE_EXT_PPS = ( 1UL << HQ_FLAG_USE_EXT_PPS ) }
 Bit masks associated with HaveQuick control flags. More...
 

Detailed Description

Note
This is only supported if the GPS_HAS_HAVEQUICK bit is set in the RECEIVER_INFO::features mask.

Macro Definition Documentation

◆ _mbg_swab_havequick_info

#define _mbg_swab_havequick_info (   _p)
Value:
do \
{ \
_mbg_swab_havequick_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->supp_formats ); \
_mbg_swab16( &(_p)->supp_flags ); \
_mbg_swab16( &(_p)->reserved ); \
} while ( 0 )

Definition at line 9488 of file gpsdefs.h.

◆ _mbg_swab_havequick_settings

#define _mbg_swab_havequick_settings (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->format ); \
_mbg_swab16( &(_p)->flags ); \
_mbg_swab32( &(_p)->offset ); \
_mbg_swab32( &(_p)->reserved_0 ); \
_mbg_swab32( &(_p)->reserved_1 ); \
} while ( 0 )

Definition at line 9466 of file gpsdefs.h.

Referenced by mbgextio_set_hq_rx_settings(), and mbgextio_set_hq_tx_settings().

◆ DEFAULT_HQ_FMT_NAMES

#define DEFAULT_HQ_FMT_NAMES
Value:
{ \
HQ_FMT_NAME_STANAG4246_1, \
HQ_FMT_NAME_STANAG4246_2, \
HQ_FMT_NAME_STANAG4246_PTTI, \
HQ_FMT_NAME_STANAG4372_SATURN_1, \
HQ_FMT_NAME_STANAG4372_SATURN_2, \
HQ_FMT_NAME_STANAG4430_EXTD \
}

Definition at line 9431 of file gpsdefs.h.

◆ DEFAULT_HQ_SHRT_FMT_NAMES

#define DEFAULT_HQ_SHRT_FMT_NAMES
Value:
{ \
HQ_FMT_SHRT_NAME_STANAG4246_1, \
HQ_FMT_SHRT_NAME_STANAG4246_2, \
HQ_FMT_SHRT_NAME_STANAG4246_PTTI, \
HQ_FMT_SHRT_NAME_STANAG4372_SATURN_1, \
HQ_FMT_SHRT_NAME_STANAG4372_SATURN_2, \
HQ_FMT_SHRT_NAME_STANAG4430_EXTD \
}

Definition at line 9441 of file gpsdefs.h.

◆ HQ_FMT_NAME_STANAG4246_1

#define HQ_FMT_NAME_STANAG4246_1   "STANAG4246 1"

Definition at line 9413 of file gpsdefs.h.

◆ HQ_FMT_NAME_STANAG4246_2

#define HQ_FMT_NAME_STANAG4246_2   "STANAG4246 2"

Definition at line 9414 of file gpsdefs.h.

◆ HQ_FMT_NAME_STANAG4246_PTTI

#define HQ_FMT_NAME_STANAG4246_PTTI   "STANAG4246 PTTI"

Definition at line 9415 of file gpsdefs.h.

◆ HQ_FMT_NAME_STANAG4372_SATURN_1

#define HQ_FMT_NAME_STANAG4372_SATURN_1   "STANAG4372 SATURN 1"

Definition at line 9416 of file gpsdefs.h.

◆ HQ_FMT_NAME_STANAG4372_SATURN_2

#define HQ_FMT_NAME_STANAG4372_SATURN_2   "STANAG4372 SATURN 2"

Definition at line 9417 of file gpsdefs.h.

◆ HQ_FMT_NAME_STANAG4430_EXTD

#define HQ_FMT_NAME_STANAG4430_EXTD   "STANAG4430 EXTD"

Definition at line 9418 of file gpsdefs.h.

◆ HQ_FMT_SHRT_NAME_STANAG4246_1

#define HQ_FMT_SHRT_NAME_STANAG4246_1   "STG4246 1"

Definition at line 9420 of file gpsdefs.h.

◆ HQ_FMT_SHRT_NAME_STANAG4246_2

#define HQ_FMT_SHRT_NAME_STANAG4246_2   "STG4246 2"

Definition at line 9421 of file gpsdefs.h.

◆ HQ_FMT_SHRT_NAME_STANAG4246_PTTI

#define HQ_FMT_SHRT_NAME_STANAG4246_PTTI   "STG4246 PTTI"

Definition at line 9422 of file gpsdefs.h.

◆ HQ_FMT_SHRT_NAME_STANAG4372_SATURN_1

#define HQ_FMT_SHRT_NAME_STANAG4372_SATURN_1   "STG4372 SATURN1"

Definition at line 9423 of file gpsdefs.h.

◆ HQ_FMT_SHRT_NAME_STANAG4372_SATURN_2

#define HQ_FMT_SHRT_NAME_STANAG4372_SATURN_2   "STG4372 SATURN2"

Definition at line 9424 of file gpsdefs.h.

◆ HQ_FMT_SHRT_NAME_STANAG4430_EXTD

#define HQ_FMT_SHRT_NAME_STANAG4430_EXTD   "STG4430 EXTD"

Definition at line 9425 of file gpsdefs.h.

Enumeration Type Documentation

◆ HAVEQUICK_FLAG_BITS

Known HaveQuick control flags.

See also
HAVEQUICK_FLAG_MASKS
Enumerator
HQ_FLAG_TX_GEN_LOCAL_TIME 
HQ_FLAG_SIGNAL_INVERTED 
HQ_FLAG_USE_EXT_PPS 
N_HQ_FLAG_BITS 

Definition at line 9503 of file gpsdefs.h.

◆ HAVEQUICK_FLAG_MASKS

Bit masks associated with HaveQuick control flags.

See also
HAVEQUICK_SETTINGS::flags
HAVEQUICK_INFO::supp_flags
HAVEQUICK_FLAG_BITS
Enumerator
HQ_MSK_TX_GEN_LOCAL_TIME 

see HQ_FLAG_TX_GEN_LOCAL_TIME

HQ_MSK_SIGNAL_INVERTED 

see HQ_FLAG_SIGNAL_INVERTED

HQ_MSK_USE_EXT_PPS 

see HQ_FLAG_USE_EXT_PPS

Definition at line 9519 of file gpsdefs.h.

◆ HAVEQUICK_FORMAT_MASKS

Bit masks associated with the enumerated HaveQuick formats.

See also
HAVEQUICK_INFO::supp_formats
HAVEQUICK_FORMATS
Enumerator
HQ_MSK_STANAG4246_1 

see HQ_FMT_STANAG4246_1

HQ_MSK_STANAG4246_2 

see HQ_FMT_STANAG4246_2

HQ_MSK_STANAG4246_PTTI 

see HQ_FMT_STANAG4246_PTTI

HQ_MSK_STANAG4372_SATURN_1 

see HQ_FMT_STANAG4372_SATURN_1

HQ_MSK_STANAG4372_SATURN_2 

see HQ_FMT_STANAG4372_SATURN_2

HQ_MSK_STANAG4430_EXTD 

see HQ_FMT_STANAG4430_EXTD

Definition at line 9400 of file gpsdefs.h.

◆ HAVEQUICK_FORMATS

Enumeration of HaveQuick formats.

See also
HAVEQUICK_SETTINGS::format
HAVEQUICK_FORMAT_MASKS
Enumerator
HQ_FMT_STANAG4246_1 
HQ_FMT_STANAG4246_2 
HQ_FMT_STANAG4246_PTTI 
HQ_FMT_STANAG4372_SATURN_1 
HQ_FMT_STANAG4372_SATURN_2 
HQ_FMT_STANAG4430_EXTD 
N_HQ_FMT 

number of known formats

Definition at line 9382 of file gpsdefs.h.