mbgtools-lx  4.2.8
NTP_REFCLK_CFG_SETTINGS Struct Reference

NTP refclock specific settings. More...

#include <gpsdefs.h>

Data Fields

uint8_t type
 See NTP_REFCLK_TYPES. More...
 
uint8_t instance
 Refclock instance of the specified type. Usually up to 4 instances of the same type are supported by ntpd. More...
 
uint8_t mode
 Driver specific "mode" ::FIXME Flag to enable "mode"? More...
 
int8_t stratum
 Stratum number to be fudged; -1 if unspecified and thus default is to be used. More...
 
int8_t refid [4]
 Reference id used by driver ::FIXME Flag to enable "refid"? More...
 
uint8_t minpoll
 Minimum polling interval, [log2 seconds], 0 if unused/unspecified. More...
 
uint8_t maxpoll
 Maximum polling interval, [log2 seconds], 0 if unused/unspecified. More...
 
uint8_t reserved_1
 Future use. More...
 
uint8_t reserved_2
 Future use. More...
 
NANO_TIME_64 time1
 Driver specific. More...
 
NANO_TIME_64 time2
 Driver specific. More...
 
uint16_t drv_flags_enable
 Enable/disable driver specific flags, see NTP_FUDGE_FLAG_NUMBERS. More...
 
uint16_t drv_flags_value
 0 or 1, if (drv_flags_enable & x) == 1, see NTP_FUDGE_FLAG_NUMBERS More...
 
uint32_t flags
 See NTP_FLAG_MASKS. Only flags specified in ::FIXME can be used here. More...
 
uint32_t reserved_3
 Future use. More...
 

Detailed Description

NTP refclock specific settings.

Used to configure a NTP refclock.

Definition at line 15681 of file gpsdefs.h.

Field Documentation

◆ drv_flags_enable

uint16_t NTP_REFCLK_CFG_SETTINGS::drv_flags_enable

Enable/disable driver specific flags, see NTP_FUDGE_FLAG_NUMBERS.

Definition at line 15698 of file gpsdefs.h.

◆ drv_flags_value

uint16_t NTP_REFCLK_CFG_SETTINGS::drv_flags_value

0 or 1, if (drv_flags_enable & x) == 1, see NTP_FUDGE_FLAG_NUMBERS

Definition at line 15699 of file gpsdefs.h.

◆ flags

uint32_t NTP_REFCLK_CFG_SETTINGS::flags

See NTP_FLAG_MASKS. Only flags specified in ::FIXME can be used here.

Definition at line 15701 of file gpsdefs.h.

◆ instance

uint8_t NTP_REFCLK_CFG_SETTINGS::instance

Refclock instance of the specified type. Usually up to 4 instances of the same type are supported by ntpd.

Definition at line 15684 of file gpsdefs.h.

◆ maxpoll

uint8_t NTP_REFCLK_CFG_SETTINGS::maxpoll

Maximum polling interval, [log2 seconds], 0 if unused/unspecified.

Definition at line 15691 of file gpsdefs.h.

◆ minpoll

uint8_t NTP_REFCLK_CFG_SETTINGS::minpoll

Minimum polling interval, [log2 seconds], 0 if unused/unspecified.

Definition at line 15690 of file gpsdefs.h.

◆ mode

uint8_t NTP_REFCLK_CFG_SETTINGS::mode

Driver specific "mode" ::FIXME Flag to enable "mode"?

Definition at line 15685 of file gpsdefs.h.

◆ refid

int8_t NTP_REFCLK_CFG_SETTINGS::refid[4]

Reference id used by driver ::FIXME Flag to enable "refid"?

Definition at line 15688 of file gpsdefs.h.

◆ reserved_1

uint8_t NTP_REFCLK_CFG_SETTINGS::reserved_1

Future use.

Definition at line 15692 of file gpsdefs.h.

◆ reserved_2

uint8_t NTP_REFCLK_CFG_SETTINGS::reserved_2

Future use.

Definition at line 15693 of file gpsdefs.h.

◆ reserved_3

uint32_t NTP_REFCLK_CFG_SETTINGS::reserved_3

Future use.

Definition at line 15703 of file gpsdefs.h.

◆ stratum

int8_t NTP_REFCLK_CFG_SETTINGS::stratum

Stratum number to be fudged; -1 if unspecified and thus default is to be used.

Definition at line 15686 of file gpsdefs.h.

◆ time1

NANO_TIME_64 NTP_REFCLK_CFG_SETTINGS::time1

Driver specific.

Definition at line 15695 of file gpsdefs.h.

◆ time2

NANO_TIME_64 NTP_REFCLK_CFG_SETTINGS::time2

Driver specific.

Definition at line 15696 of file gpsdefs.h.

◆ type

uint8_t NTP_REFCLK_CFG_SETTINGS::type

See NTP_REFCLK_TYPES.

Definition at line 15683 of file gpsdefs.h.


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