PDK API Guide for J721E
gptpipc_clock_data Struct Reference

Detailed Description

gptp clock data.

  1. domainNumber -> The domain number of a gPTP domain
  2. portIndex -> index number of the clock port
  3. lastGmPhaseChange_nsec -> the most recent change in timeBaseIndicator
  4. clockId -> the clock identiy of this clock port
  5. gmClockId -> the clock identiy of the current grand master clock
  6. lastSyncReceiptTime_nsec ->
  7. lastSyncReceiptLocalTime_nsec ->
  8. adjppb -> adjustment value
  9. gmTimeBaseIndicator -> timeBaseIndicator of the current grand master
  10. lastSyncSeqID -> sequence number of the last Sync/FollowUp received
  11. gmsync -> True if synchronized to grand master
  12. domainActive -> True if this domain is providing the gptp clock
  13. lastGmFreqChangePk -> the last

Data Fields

int32_t domainNumber
 
int32_t portIndex
 
int64_t lastGmPhaseChange_nsec
 
ClockIdentity clockId
 
ClockIdentity gmClockId
 
uint64_t lastSyncReceiptTime_nsec
 
uint64_t lastSyncReceiptLocalTime_nsec
 
int32_t adjppb
 
uint16_t gmTimeBaseIndicator
 
uint16_t lastSyncSeqID
 
uint8_t gmsync
 
uint8_t domainActive
 
uint8_t lastGmFreqChangePk [sizeof(double)]
 

Field Documentation

◆ domainNumber

int32_t gptpipc_clock_data::domainNumber

◆ portIndex

int32_t gptpipc_clock_data::portIndex

◆ lastGmPhaseChange_nsec

int64_t gptpipc_clock_data::lastGmPhaseChange_nsec

◆ clockId

ClockIdentity gptpipc_clock_data::clockId

◆ gmClockId

ClockIdentity gptpipc_clock_data::gmClockId

◆ lastSyncReceiptTime_nsec

uint64_t gptpipc_clock_data::lastSyncReceiptTime_nsec

◆ lastSyncReceiptLocalTime_nsec

uint64_t gptpipc_clock_data::lastSyncReceiptLocalTime_nsec

◆ adjppb

int32_t gptpipc_clock_data::adjppb

◆ gmTimeBaseIndicator

uint16_t gptpipc_clock_data::gmTimeBaseIndicator

◆ lastSyncSeqID

uint16_t gptpipc_clock_data::lastSyncSeqID

◆ gmsync

uint8_t gptpipc_clock_data::gmsync

◆ domainActive

uint8_t gptpipc_clock_data::domainActive

◆ lastGmFreqChangePk

uint8_t gptpipc_clock_data::lastGmFreqChangePk[sizeof(double)]