RAD_GPTP_SETTINGS Structure

This structure defines various settings for the gPTP

typedef struct __declspec (align(2))
{
   uint32_t neighborPropDelayThresh;
   uint32_t sys_phc_sync_interval;
   int8_t logPDelayReqInterval;
   int8_t logSyncInterval;
   int8_t logAnnounceInterval;
   uint8_t profile;
   uint8_t priority1;
   uint8_t clockclass;
   uint8_t clockaccuracy;
   uint8_t priority2;
   uint16_t offset_scaled_log_variance;
   uint8_t gPTPportRole;
   uint8_t gptpEnabledPort;
   uint32_t rsvd0;
   uint32_t rsvd1;
   uint32_t rsvd2;
   uint32_t rsvd3;
}RAD_GPTP_SETTINGS;

Remarks

ItemDescription

neighborPropDelayThresh

Threshold value for neighbor propagation delay. A Device will be identified as non-AS Capable if pDelay exceeds this value

sys_phc_sync_interval

Not Defined

logPDelayReqInterval

Delay Request Interval Value = log2(Interval in Seconds)

logSyncInterval

Sync Interval Value = log2(Interval in Seconds)

logAnnounceInterval

Announce Interval Value = log2(Interval in Seconds)

profile

Set the gPTP Profile 0 = Standard, 1=Automotive

priority1

Priority1 sets the ordering priority. Lower values set a better ClockMaster. See gPTP spec, 8021AS for more details and restrictions.

clockclass

clockClass gives the traceability of the synchronized time sent by the Master in Grandmaster mode. See gPTP spec, 8021AS for more details.

clockaccuracy

clockAccuracy sets the time Accuracy of the ClockMaster. Lower values indicate better clocks. See gPTP spec, 8021AS for more details.

priority2

priority2 uses a similar scheme as priority1. See gPTP spec, 8021AS for more details.

offset_scaled_log_variance

This parameter is an estimate of the Variance in PTP. See gPTP spec, 8021AS for more details.

gPTPportRole

Sets the gPTP port Role. 0 = Master, 1=Slave

gptpEnabledPort

Sets the Channel to use for gPTP 0 = Disabled, 1 = OpEth1, 2 = OpEth2, 3 = OpEth3 4 = OpEth4, 5 = OpEth5, 6 = OpEth6, 7 = OpEth7 8 = OpEth8, 9 = OpEth9, 10 = OpEth10, 11 = OpEth11 12 = OpEth12, 13 = StdEth1, 14 = StdEth2

rsvd0

Reserved

rsvd1

Reserved

rsvd2

Reserved

rsvd3

Reserved

Last updated