PDK API Guide for J721E
TimeSyncPtp_MasterParams Struct Reference

Detailed Description

Master and grand master clock params.

Data Fields

uint8_t priority1
 
uint8_t priority2
 
uint8_t clockClass
 
uint8_t clockAccuracy
 
uint8_t timeSource
 
uint16_t stepRemoved
 
uint16_t clockVariance
 
uint16_t UTCOffset
 
uint8_t gmIdentity [8]
 
uint8_t ptpFlags [12]
 

Field Documentation

◆ priority1

uint8_t TimeSyncPtp_MasterParams::priority1

Priority 1 field in standard. Refer section 7.6.2.2

◆ priority2

uint8_t TimeSyncPtp_MasterParams::priority2

Priority 2 field in standard. Refer section 7.6.2.3

◆ clockClass

uint8_t TimeSyncPtp_MasterParams::clockClass

ClockClass field in standard. Refer section 7.6.2.4

◆ clockAccuracy

uint8_t TimeSyncPtp_MasterParams::clockAccuracy

ClockAccuracy field in standard. Refer section 7.6.2.5

◆ timeSource

uint8_t TimeSyncPtp_MasterParams::timeSource

TimeSource field in standard. Refer section 7.6.2.6

◆ stepRemoved

uint16_t TimeSyncPtp_MasterParams::stepRemoved

Applicable to Boundary clocks. Refer section 8.2.2.2

◆ clockVariance

uint16_t TimeSyncPtp_MasterParams::clockVariance

ClockVariance field in standard. Refer section 7.6.3

◆ UTCOffset

uint16_t TimeSyncPtp_MasterParams::UTCOffset

Current UTC offset

◆ gmIdentity

uint8_t TimeSyncPtp_MasterParams::gmIdentity[8]

Grand master identity

◆ ptpFlags

uint8_t TimeSyncPtp_MasterParams::ptpFlags[12]

PTP Flag params. See standard index 0 - PTP Leap second 61 index 1 - PTP Leap second 59 .... .... index 11 - PTP Security