CIP Sync configuration. Instance Attribute for PTP Class (Class Code 0x43. CIP Spec Vol 1)
Data Fields | |
uint8_t | ifPTPEnable |
uint8_t | IsSynchronized |
uint64_t | systemTimeMicrosec |
uint64_t | systemTimeNanosec |
int64_t | offsetFromMaster |
uint64_t | maxOffsetFromMaster |
int64_t | meanPathDelayToMaster |
clockClass_t | grandMasterClkInfo |
clockClass_t | parentClkInfo |
clockClass_t | localClkInfo |
uint16_t | numberOfPorts |
port_State | portState [ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
uint16_t | portEnable [ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
uint16_t | portLogAnnounceInterval [ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
uint16_t | portLogSyncInterval [ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
uint8_t | priority1 |
uint8_t | priority2 |
uint8_t | domainNumber |
clockType | clockType |
uint8_t | manufacturerIdentity [4] |
descr_t | productType |
descr_t | revData |
descr_t | userDesc |
portProfileIdentity_t | profileInfo [ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
portPhysAddr_t | physInfo [ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
portProtAddr_t | protInfo [ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
uint16_t | stepsRemoved |
sysTimeOffset_t | timeOffset |
uint8_t cipSyncConfig_t::ifPTPEnable |
If PTP is enabled on system. Only applicable for OC
uint8_t cipSyncConfig_t::IsSynchronized |
If PTP is synchronized with Master
uint64_t cipSyncConfig_t::systemTimeMicrosec |
Current system time in Microseconds
uint64_t cipSyncConfig_t::systemTimeNanosec |
Current system time in Nanoseconds
int64_t cipSyncConfig_t::offsetFromMaster |
Offset between local clock and master clock
uint64_t cipSyncConfig_t::maxOffsetFromMaster |
Maximum offset between local clock and master clock
int64_t cipSyncConfig_t::meanPathDelayToMaster |
Mean path delay to master
clockClass_t cipSyncConfig_t::grandMasterClkInfo |
Grand master clock info
clockClass_t cipSyncConfig_t::parentClkInfo |
Parent clock info
clockClass_t cipSyncConfig_t::localClkInfo |
Local clock info
uint16_t cipSyncConfig_t::numberOfPorts |
Number of PTP Ports on the device. See Spec
port_State cipSyncConfig_t::portState[ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
Status of PORT. PTP State machine values. See Spec
uint16_t cipSyncConfig_t::portEnable[ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
Port Enable/Disable
uint16_t cipSyncConfig_t::portLogAnnounceInterval[ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
PTP announce interval between successive "Announce" messages issued by a master clock on each PTP port of the device
uint16_t cipSyncConfig_t::portLogSyncInterval[ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
specifies the PTP sync interval between successive "Sync" messages issued by a master clock on each PTP port of the device
uint8_t cipSyncConfig_t::priority1 |
attribute allows the user to override the automatic selection of the best master clock before any quality measures are evaluated
uint8_t cipSyncConfig_t::priority2 |
Same as above with a difference that it is used after clock is chosen
uint8_t cipSyncConfig_t::domainNumber |
Domain Number as per PTP algorithm
clockType cipSyncConfig_t::clockType |
Clock Type. OC, TC, BC etc
uint8_t cipSyncConfig_t::manufacturerIdentity[4] |
OUI given by IEEE
descr_t cipSyncConfig_t::productType |
Product Type, Product description in Unicode format
descr_t cipSyncConfig_t::revData |
Revision data of Clock, Firmware and Software. In Unicode
descr_t cipSyncConfig_t::userDesc |
Description of device that contains the clock
portProfileIdentity_t cipSyncConfig_t::profileInfo[ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
the PTP profile of each port of the device
portPhysAddr_t cipSyncConfig_t::physInfo[ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
Physical Address Info of each port
portProtAddr_t cipSyncConfig_t::protInfo[ICSS_EMAC_MAX_PORTS_PER_INSTANCE] |
Protocol Address Info of each port
uint16_t cipSyncConfig_t::stepsRemoved |
number of communication paths traversed between the local clock and the grandmaster clock
sysTimeOffset_t cipSyncConfig_t::timeOffset |
Specifies the system time in microseconds and the Offset to the local clock value