mbgtools-lx  4.2.8
PTP_CFG_SETTINGS Struct Reference

A structure used to configure a PTP port. More...

#include <gpsdefs.h>

Data Fields

uint16_t nw_prot
 see PTP_NW_PROTS More...
 
uint8_t selected_presets
 selected PTP presets, see PTP_PRESETS More...
 
uint8_t domain_number
 the PTP clock domain number, 0:3 More...
 
uint8_t delay_mech
 see PTP_DELAY_MECHS More...
 
uint8_t ptp_role
 one of the supported PTP roles, see PTP_ROLES More...
 
uint8_t priority_1
 priority 1 More...
 
uint8_t priority_2
 priority 2 More...
 
uint8_t dflt_clk_class_unsync_cold
 
uint8_t dflt_clk_class_unsync_warm
 
uint8_t dflt_clk_class_sync_cold
 
uint8_t dflt_clk_class_sync_warm
 
uint8_t ann_rcpt_timeout
 announce msg. receipt timeout, see PTP_ANN_RCPT_TIMEOUT_LIMITS More...
 
uint8_t opt_ext
 optional configuration extension, see PTP_OPT_EXTS More...
 
int16_t sync_intv
 log2 of the sync interval [s] More...
 
int16_t ann_intv
 log2 of the announce interval [s] More...
 
int16_t delay_req_intv
 log2 of the delay request interval [s] More...
 
uint32_t upper_bound
 sync state set to false if above this limit [ns] More...
 
uint32_t lower_bound
 sync state set to true if below this limit [ns] More...
 
int16_t delay_asymmetry
 
uint16_t flags_ex
 see PTP_CFG_FLAG_EX_MASKS More...
 
uint32_t flags
 see PTP_CFG_FLAG_MASKS More...
 

Detailed Description

A structure used to configure a PTP port.

Definition at line 13278 of file gpsdefs.h.

Field Documentation

◆ ann_intv

int16_t PTP_CFG_SETTINGS::ann_intv

log2 of the announce interval [s]

Definition at line 13298 of file gpsdefs.h.

Referenced by set_ptp_cfg(), and show_ptp_cfg().

◆ ann_rcpt_timeout

uint8_t PTP_CFG_SETTINGS::ann_rcpt_timeout

announce msg. receipt timeout, see PTP_ANN_RCPT_TIMEOUT_LIMITS

Definition at line 13294 of file gpsdefs.h.

◆ delay_asymmetry

int16_t PTP_CFG_SETTINGS::delay_asymmetry

static delay asymmetry [ns] to be compensated, only supported if PTP_CFG_MSK_HAS_DELAY_ASYMMETRY_CFG is set in PTP_CFG_INFO::supp_flags_ex

Definition at line 13304 of file gpsdefs.h.

◆ delay_mech

uint8_t PTP_CFG_SETTINGS::delay_mech

see PTP_DELAY_MECHS

Definition at line 13284 of file gpsdefs.h.

Referenced by set_ptp_cfg(), show_ptp_cfg(), and show_ptp_state().

◆ delay_req_intv

int16_t PTP_CFG_SETTINGS::delay_req_intv

log2 of the delay request interval [s]

Definition at line 13299 of file gpsdefs.h.

Referenced by set_ptp_cfg(), show_ptp_cfg(), and show_ptp_state().

◆ dflt_clk_class_sync_cold

uint8_t PTP_CFG_SETTINGS::dflt_clk_class_sync_cold

Definition at line 13291 of file gpsdefs.h.

◆ dflt_clk_class_sync_warm

uint8_t PTP_CFG_SETTINGS::dflt_clk_class_sync_warm

Definition at line 13292 of file gpsdefs.h.

◆ dflt_clk_class_unsync_cold

uint8_t PTP_CFG_SETTINGS::dflt_clk_class_unsync_cold

Definition at line 13289 of file gpsdefs.h.

◆ dflt_clk_class_unsync_warm

uint8_t PTP_CFG_SETTINGS::dflt_clk_class_unsync_warm

Definition at line 13290 of file gpsdefs.h.

◆ domain_number

uint8_t PTP_CFG_SETTINGS::domain_number

the PTP clock domain number, 0:3

Definition at line 13282 of file gpsdefs.h.

Referenced by set_ptp_cfg(), show_ptp_cfg(), and show_ptp_state().

◆ flags

uint32_t PTP_CFG_SETTINGS::flags

see PTP_CFG_FLAG_MASKS

Definition at line 13307 of file gpsdefs.h.

Referenced by set_ptp_cfg(), and show_ptp_cfg().

◆ flags_ex

uint16_t PTP_CFG_SETTINGS::flags_ex

see PTP_CFG_FLAG_EX_MASKS

Definition at line 13306 of file gpsdefs.h.

◆ lower_bound

uint32_t PTP_CFG_SETTINGS::lower_bound

sync state set to true if below this limit [ns]

Definition at line 13302 of file gpsdefs.h.

◆ nw_prot

uint16_t PTP_CFG_SETTINGS::nw_prot

see PTP_NW_PROTS

Definition at line 13280 of file gpsdefs.h.

Referenced by set_ptp_cfg(), show_ptp_cfg(), and show_ptp_state().

◆ opt_ext

uint8_t PTP_CFG_SETTINGS::opt_ext

optional configuration extension, see PTP_OPT_EXTS

Definition at line 13295 of file gpsdefs.h.

◆ priority_1

uint8_t PTP_CFG_SETTINGS::priority_1

priority 1

Definition at line 13286 of file gpsdefs.h.

◆ priority_2

uint8_t PTP_CFG_SETTINGS::priority_2

priority 2

Definition at line 13287 of file gpsdefs.h.

◆ ptp_role

uint8_t PTP_CFG_SETTINGS::ptp_role

one of the supported PTP roles, see PTP_ROLES

Definition at line 13285 of file gpsdefs.h.

Referenced by set_ptp_cfg(), show_ptp_cfg(), and show_ptp_state().

◆ selected_presets

uint8_t PTP_CFG_SETTINGS::selected_presets

selected PTP presets, see PTP_PRESETS

Definition at line 13281 of file gpsdefs.h.

◆ sync_intv

int16_t PTP_CFG_SETTINGS::sync_intv

log2 of the sync interval [s]

Definition at line 13296 of file gpsdefs.h.

Referenced by set_ptp_cfg(), and show_ptp_cfg().

◆ upper_bound

uint32_t PTP_CFG_SETTINGS::upper_bound

sync state set to false if above this limit [ns]

Definition at line 13301 of file gpsdefs.h.


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