|
AM263x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
33 #ifndef ICSS_TIMESYNC_API_H_
34 #define ICSS_TIMESYNC_API_H_
51 #define lswap(x) ((((x) & 0xff000000) >> 24) | \
52 (((x) & 0x00ff0000) >> 8) | \
53 (((x) & 0x0000ff00) << 8) | \
54 (((x) & 0x000000ff) << 24))
56 #define htonl_ts(l) (lswap(l))
57 #define ntohl_ts(l) (lswap(l))
59 #define htons_ts(s) ((u_short)((u_short)(s) >> 8) | (u_short)((u_short)(s) << 8))
60 #define ntohs_ts(s) htons_ts(s)
66 #define TASK_STACK_SIZE (2048)
68 #define ICSS_TIMESYNC_EVENT_BIT0 (0x000001)
69 #define ICSS_TIMESYNC_EVENT_BIT1 (0x000002)
70 #define ICSS_TIMESYNC_EVENT_BIT2 (0x000004)
71 #define ICSS_TIMESYNC_EVENT_BIT3 (0x000008)
72 #define ICSS_TIMESYNC_EVENT_BIT4 (0x000010)
73 #define ICSS_TIMESYNC_EVENT_BIT5 (0x000020)
74 #define ICSS_TIMESYNC_EVENT_BIT6 (0x000040)
75 #define ICSS_TIMESYNC_EVENT_BIT7 (0x000080)
90 #define TS_NUM_DOMAINS 1
98 #define TS_STATE_MACHINE_FIRST_ADJUSTMENT_DONE 1
104 #define TS_STATE_MACHINE_LINE_DELAY_COMPUTED 2
109 #define TS_STATE_MACHINE_SYNC_INTERVAL_COMPUTED 4
115 #define TS_STATE_MACHINE_READY_FOR_SYNC 7
122 #define TS_STATE_MACHINE_DEVICE_IN_SYNC 8
129 #define OFFSET_ALGO_BIN_SIZE 5
136 #define OFFSET_ALGO_CLUSTER_SIZE 3
300 uint8_t gmIdentity[8];
309 uint8_t ptp_flags[12];
319 uint8_t *pdelayReq_RxBuf[2];
320 uint8_t *pdelayRes_RxBuf[2];
321 uint8_t *pdelayResFlwUp_RxBuf[2];
323 uint8_t *delayReq_RxBuf[2];
326 uint8_t *pdelayReq_TxBuf[2];
327 uint8_t *pdelayRes_TxBuf[2];
328 uint8_t *pdelayResFlwUp_TxBuf[2];
331 uint8_t *followUp_TxBuf[2];
525 int32_t prevOffset[2];
528 int32_t prevOffsetValid[2];
803 uint8_t ptpSrcMacID[6];
810 typedef struct TimeSync_ParamsHandle_s
853 uint8_t syntIndexMap[3];
854 uint8_t prevIndexMap[3];
967 #define TIMESYNC_OK (0)
968 #define ERROR_TX_FRAMETYPE_NOTVALID (-1)
969 #define ERROR_TX_PORTNUMBER_NOTVALID (-2)
970 #define ERROR_HANDLE_INVALID (-3)
971 #define ERROR_RX_FRAMETYPE_NOTVALID (-4)
972 #define ERROR_RX_PORTNUMBER_NOTVALID (-5)
998 uint32_t *nanoseconds, uint64_t *seconds);
1014 uint32_t *nanoseconds, uint64_t *seconds, uint8_t* TimeStampFromFrame);
1050 uint32_t *nanoseconds, uint64_t *seconds);
1101 uint32_t *nanoseconds, uint64_t *seconds);
int32_t currOffset
Definition: icss_timeSyncApi.h:520
timeSync_SyntInfo_t * tsSyntInfo
Definition: icss_timeSyncApi.h:942
ptpFrameTypes_t txFrameType
Definition: icss_timeSyncApi.h:826
@ E2E
Definition: icss_timeSyncApi.h:194
@ TC
Definition: icss_timeSyncApi.h:181
uint32_t eventIdPdelayReq
Definition: icss_timeSyncApi.h:906
@ DISABLED
Definition: icss_timeSyncApi.h:145
uint32_t backgroundTaskStack[TASK_STACK_SIZE/sizeof(uint32_t)] __attribute__((aligned(32)))
Time synchronization configuration structure.
Definition: icss_timeSyncApi.h:317
uint32_t txPhyLatency
Definition: icss_timeSyncApi.h:458
void TimeSync_updateLogMessageIntervalInPTPFrames(TimeSync_ParamsHandle_t timeSyncHandle)
Update log message interval in PTP TX buffers.
int32_t TimeSync_config(TimeSync_ParamsHandle_t timeSyncHandle)
Function to configure domain number and/or log message intervals and/or sync0 signal start time,...
PTPd stack parameters.
Definition: icss_timeSyncApi.h:793
uint32_t tickPeriod
Definition: icss_timeSyncApi.h:452
TaskP_Object timeSync_pDelayReqSendTask
Definition: icss_timeSyncApi.h:858
@ INTERNAL_OSCILLATOR
Definition: icss_timeSyncApi.h:227
struct ICSS_EMAC_Config_s * ICSS_EMAC_Handle
Alias for ICSS EMAC Handle containing base addresses and modules.
Definition: icss_emac.h:467
double rcf
Definition: icss_timeSyncApi.h:662
Parameters required for clock syntonization.
Definition: icss_timeSyncApi.h:654
uint32_t eventIdPdelayResp
Definition: icss_timeSyncApi.h:908
uint8_t nrtTaskPriority
Definition: icss_timeSyncApi.h:467
802.1AS-rev ExtendedTimestamp
Definition: icss_timeSyncApi.h:244
uint8_t sequenceIdIn
Definition: icss_timeSyncApi.h:841
802.1AS-rev Timestamp structure
Definition: icss_timeSyncApi.h:234
netWorkProtType
Network Protocol Type.
Definition: icss_timeSyncApi.h:159
deviceConfig config
Definition: icss_timeSyncApi.h:388
void TimeSync_getCurrentTime(TimeSync_ParamsHandle_t timeSyncParamsHandle, uint32_t *nanoseconds, uint64_t *seconds)
Returns the current time on device.
uint8_t sequenceIdOut_txTS
Definition: icss_timeSyncApi.h:829
int32_t initialOffset
Definition: icss_timeSyncApi.h:531
@ PASSIVE
Definition: icss_timeSyncApi.h:149
uint16_t delReqSequenceID
Definition: icss_timeSyncApi.h:501
delayType type
Definition: icss_timeSyncApi.h:394
@ OTHER
Definition: icss_timeSyncApi.h:226
double nrr
Definition: icss_timeSyncApi.h:687
timeSource
802.1AS-rev Enumeration8
Definition: icss_timeSyncApi.h:219
port_State
Port States, from IEEE 1588v2.
Definition: icss_timeSyncApi.h:142
uint64_t originTsSec
Definition: icss_timeSyncApi.h:632
uint32_t pDelayReqSendTaskStack[TASK_STACK_SIZE/sizeof(uint32_t)] __attribute__((aligned(32)))
Parent clock params.
Definition: icss_timeSyncApi.h:265
uint32_t numSyncMissed
Definition: icss_timeSyncApi.h:922
uint8_t hsrEnabled
Definition: icss_timeSyncApi.h:418
uint8_t * delayReq_TxBuf
Definition: icss_timeSyncApi.h:332
uint32_t eventIdDelayReq
Definition: icss_timeSyncApi.h:912
uint64_t T3Sec
Definition: icss_timeSyncApi.h:742
uint32_t eventIdFlwUpGenerated
Definition: icss_timeSyncApi.h:914
@ NTP
Definition: icss_timeSyncApi.h:224
uint32_t delReqTxTsNS
Definition: icss_timeSyncApi.h:717
uint16_t announceSequenceID
Definition: icss_timeSyncApi.h:507
TimeSync_Config_t timeSyncConfig
Definition: icss_timeSyncApi.h:936
uint16_t stepRemoved
Definition: icss_timeSyncApi.h:294
uint8_t txPort
Definition: icss_timeSyncApi.h:827
Parameters required for calculating Cable Delay.
Definition: icss_timeSyncApi.h:705
@ PRE_MASTER
Definition: icss_timeSyncApi.h:147
@ UDP_IPV4
Definition: icss_timeSyncApi.h:162
int8_t logSyncInterval
Definition: icss_timeSyncApi.h:363
uint32_t currSyncInterval
Definition: icss_timeSyncApi.h:513
uint64_t fractionalNanoseconds
Definition: icss_timeSyncApi.h:246
uint64_t delayResFwUpCorrField
Definition: icss_timeSyncApi.h:765
uint32_t delayReqSendTaskStack[TASK_STACK_SIZE/sizeof(uint32_t)] __attribute__((aligned(32)))
uint32_t firstSyncInterval
Definition: icss_timeSyncApi.h:517
ipParams_t udpParams
Definition: icss_timeSyncApi.h:927
ICSS_EMAC_Handle emacHandle
Definition: icss_timeSyncApi.h:813
uint32_t syncSendInterval
Definition: icss_timeSyncApi.h:377
uint32_t T1Sec
Definition: icss_timeSyncApi.h:730
#define SYNT_DEPTH
Definition: icss_timeSyncApi.h:85
@ MASTER
Definition: icss_timeSyncApi.h:148
uint8_t syntEnable
Definition: icss_timeSyncApi.h:668
@ INITIALIZING
Definition: icss_timeSyncApi.h:143
int32_t TimeSync_getTxTimestamp(TimeSync_ParamsHandle_t timeSyncParamsHandle, ptpFrameTypes_t txFrameType, uint8_t txPort, uint32_t *nanoseconds, uint64_t *seconds)
Reads and provides timestamp of a transmitted event message.
uint32_t ltaSyncInterval
Definition: icss_timeSyncApi.h:515
uint32_t eventIdSync
Definition: icss_timeSyncApi.h:904
uint16_t clockVariance
Definition: icss_timeSyncApi.h:296
uint8_t ifTwoStep
Definition: icss_timeSyncApi.h:625
@ DEVICE_NET
Definition: icss_timeSyncApi.h:167
uint8_t offsetStable
Definition: icss_timeSyncApi.h:537
uint64_t timeStampSec
Definition: icss_timeSyncApi.h:710
uint8_t delayReqSendTaskPriority
Definition: icss_timeSyncApi.h:461
int32_t TimeSync_getRxTimestamp(TimeSync_ParamsHandle_t timeSyncParamsHandle, ptpFrameTypes_t rxFrameType, uint8_t rxPort, uint32_t *nanoseconds, uint64_t *seconds)
Reads and provides timestamp of a received event message.
uint8_t enabled
Definition: icss_timeSyncApi.h:822
uint32_t pdelayBurstInterval
Definition: icss_timeSyncApi.h:404
uint32_t rxPhyLatency
Definition: icss_timeSyncApi.h:455
Opaque task object used with the task APIs.
Definition: TaskP.h:96
uint8_t announceBuf_size
Definition: icss_timeSyncApi.h:340
ptpFrameTypes_t rxFrameType
Definition: icss_timeSyncApi.h:833
Parameters required for calculating Cable Delay.
Definition: icss_timeSyncApi.h:725
@ HAND_SET
Definition: icss_timeSyncApi.h:225
timeSync_Offset_Stable_Algo_t * offsetAlgo
Definition: icss_timeSyncApi.h:924
@ NON_SYNC_DELAY_FRAME
Definition: icss_timeSyncApi.h:205
uint32_t clockDrift
Definition: icss_timeSyncApi.h:550
uint8_t ifTwoStep
Definition: icss_timeSyncApi.h:727
@ SLAVE
Definition: icss_timeSyncApi.h:151
TaskP_Object timeSync_NRT_Task
Definition: icss_timeSyncApi.h:875
uint8_t generalFrameFlag
Definition: icss_timeSyncApi.h:795
uint64_t tickCounter
Definition: icss_timeSyncApi.h:563
@ UDP_IPV6
Definition: icss_timeSyncApi.h:164
int8_t logAnnounceSendInterval
Definition: icss_timeSyncApi.h:366
@ OC
Definition: icss_timeSyncApi.h:183
uint8_t timeSource
Definition: icss_timeSyncApi.h:292
uint32_t T4Nsec
Definition: icss_timeSyncApi.h:751
int64_t meanPathDelay
Definition: icss_timeSyncApi.h:547
#define TASK_STACK_SIZE
Definition: icss_timeSyncApi.h:66
uint8_t ttlVal
Definition: icss_timeSyncApi.h:785
TimeSync_master_params_t masterParams
Definition: icss_timeSyncApi.h:473
int32_t observedClockPhaseChangeRate
Definition: icss_timeSyncApi.h:275
uint32_t syncLastSeenCounter
Definition: icss_timeSyncApi.h:566
uint8_t driftStable
Definition: icss_timeSyncApi.h:534
timeStamp * rxTimestamp_gPTP
Definition: icss_timeSyncApi.h:836
uint64_t correctionField
Definition: icss_timeSyncApi.h:707
TaskP_Object timeSync_TxTSTaskP2
Definition: icss_timeSyncApi.h:868
uint64_t T4Sec
Definition: icss_timeSyncApi.h:748
uint32_t NRT_TaskStack[TASK_STACK_SIZE/sizeof(uint32_t)] __attribute__((aligned(32)))
#define ICSS_EMAC_MAXMTU
Maximum Valid size (incl header + VLAN TAG..., no CRC)
Definition: icss_emac.h:261
uint32_t nrrIndex
Definition: icss_timeSyncApi.h:696
int8_t TimeSync_adjTimeSlowComp(TimeSync_ParamsHandle_t timeSyncParamsHandle, int32_t adjOffset)
Adjusts the IEP clock by the drift value over one Sync interval.
Opaque Event object used with the Event APIs.
Definition: EventP.h:60
uint32_t pDelayReqRcvdTSNsec
Definition: icss_timeSyncApi.h:759
uint32_t pDelReqPktInterval
Definition: icss_timeSyncApi.h:373
#define TS_NUM_DOMAINS
Definition: icss_timeSyncApi.h:90
uint32_t sync0_interval
Definition: icss_timeSyncApi.h:415
uint32_t originTsNs
Definition: icss_timeSyncApi.h:634
void TimeSync_updateDomainNumberInPTPFrames(TimeSync_ParamsHandle_t timeSyncHandle)
Update PTP domain number in TX Buffers.
uint8_t emac_mode
Definition: icss_timeSyncApi.h:442
@ GPS
Definition: icss_timeSyncApi.h:221
ClockIdentity clockIdentity
Definition: gptpbasetypes.h:5
Used to populate IP/UDP Parameters. These must be populated from Switch params.
Definition: icss_timeSyncApi.h:773
TimeSync_frame_buffers_t timeSyncBuff
Definition: icss_timeSyncApi.h:939
uint8_t dscp
Definition: icss_timeSyncApi.h:782
uint8_t stateMachine
PTP State machine used internally by driver This is a bitmap Bit 0 : Set 1 if First adjustment done B...
Definition: icss_timeSyncApi.h:495
@ UNCALIBRATED
Definition: icss_timeSyncApi.h:150
deviceConfig
Current Device configuration.
Definition: icss_timeSyncApi.h:178
uint16_t UTCOffset
Definition: icss_timeSyncApi.h:298
uint8_t enabled
Definition: icss_timeSyncApi.h:483
uint64_t correctionField
Definition: icss_timeSyncApi.h:629
int8_t logPDelReqPktInterval
Definition: icss_timeSyncApi.h:360
uint64_t T2Sec
Definition: icss_timeSyncApi.h:736
int32_t drift
Definition: icss_timeSyncApi.h:844
delayType
PTP Delay Mechanism Type. From Table 9 of Standard.
Definition: icss_timeSyncApi.h:192
Master and grand master clock params.
Definition: icss_timeSyncApi.h:282
SemaphoreP_Object delayReqTxSemObject
Definition: icss_timeSyncApi.h:917
uint64_t seconds
Definition: icss_timeSyncApi.h:245
uint8_t index
Definition: icss_timeSyncApi.h:665
@ PTP
Definition: icss_timeSyncApi.h:223
uint8_t priority2
Definition: icss_timeSyncApi.h:286
uint32_t srcIP
Definition: icss_timeSyncApi.h:776
#define OFFSET_ALGO_BIN_SIZE
Definition: icss_timeSyncApi.h:129
uint32_t T3Nsec
Definition: icss_timeSyncApi.h:745
uint8_t rxprotocol
Definition: icss_timeSyncApi.h:835
void(* TimeSync_stackResetCallback_t)(void *arg)
PTP Stack Reset callback function. Timesync handle (of type TimeSync_ParamsHandle_t) will be passed a...
Definition: icss_timeSyncApi.h:259
uint8_t priority1
Definition: icss_timeSyncApi.h:284
uint8_t flwUpBuf_size
Definition: icss_timeSyncApi.h:339
TimeSync_stackResetCallback_t ptpDrvStackReset
Definition: icss_timeSyncApi.h:358
uint32_t T1Nsec
Definition: icss_timeSyncApi.h:733
uint64_t seconds
Definition: icss_timeSyncApi.h:235
uint32_t eventIdPdelayRespFlwUp
Definition: icss_timeSyncApi.h:910
timeSync_RuntimeVar_t * tsRunTimeVar
Definition: icss_timeSyncApi.h:951
@ FAULTY
Definition: icss_timeSyncApi.h:144
@ BOTH
Definition: icss_timeSyncApi.h:185
uint8_t syncPortNum
Definition: icss_timeSyncApi.h:540
uint8_t syncBuf_size
Definition: icss_timeSyncApi.h:338
TaskP_Object timeSync_backgroundTask
Definition: icss_timeSyncApi.h:881
uint64_t pDelayReqRcvdTSSec
Definition: icss_timeSyncApi.h:755
@ UNKNOWN
Definition: icss_timeSyncApi.h:170
uint8_t frame_offset
Definition: icss_timeSyncApi.h:448
uint32_t delReqTxTsSec
Definition: icss_timeSyncApi.h:715
TaskP_Object timeSync_delayReqSendTask
Definition: icss_timeSyncApi.h:861
uint8_t * sync_TxBuf
Definition: icss_timeSyncApi.h:329
uint8_t binFull
Definition: icss_timeSyncApi.h:610
uint32_t syncTimeoutInterval
Definition: icss_timeSyncApi.h:570
uint8_t sequenceIdOut_rxTS
Definition: icss_timeSyncApi.h:837
TimeSync_master_params_t masterParams
Definition: icss_timeSyncApi.h:579
Variables used for offset stabilization algorithm.
Definition: icss_timeSyncApi.h:591
Runtime variables for Time Sync implementation.
Definition: icss_timeSyncApi.h:481
uint32_t rxTs
Definition: icss_timeSyncApi.h:637
Opaque Hwi object used with the Hwi APIs.
Definition: HwiP.h:93
@ IEEE_802_3
Definition: icss_timeSyncApi.h:166
uint32_t announceRcptTimeoutInterval
Definition: icss_timeSyncApi.h:385
@ P2P
Definition: icss_timeSyncApi.h:196
uint16_t ptpGeneralSize
Definition: icss_timeSyncApi.h:799
Parameters required for calculating Nighbor Rate Ratio.
Definition: icss_timeSyncApi.h:679
uint32_t timeStampNS
Definition: icss_timeSyncApi.h:712
@ DELAY_RESP_FRAME
Definition: icss_timeSyncApi.h:211
uint8_t pdelayBurstNumPkts
Definition: icss_timeSyncApi.h:407
uint8_t txTsTaskPriority
Definition: icss_timeSyncApi.h:464
uint32_t syntIndex
Definition: icss_timeSyncApi.h:671
uint32_t txTs
Definition: icss_timeSyncApi.h:643
uint32_t txTSTaskP1Stack[TASK_STACK_SIZE/sizeof(uint32_t)] __attribute__((aligned(32)))
uint32_t T2Nsec
Definition: icss_timeSyncApi.h:739
@ CONTROL_NET
Definition: icss_timeSyncApi.h:168
uint32_t syncInterval
Definition: icss_timeSyncApi.h:845
uint8_t ll_has_hsrTag
Definition: icss_timeSyncApi.h:427
Opaque semaphore object used with the semaphore APIs.
Definition: SemaphoreP.h:59
int32_t ltaOffset
Definition: icss_timeSyncApi.h:553
uint32_t syncOut_sync0Start
Definition: icss_timeSyncApi.h:352
uint8_t curIndex
Definition: icss_timeSyncApi.h:690
uint8_t clockAccuracy
Definition: icss_timeSyncApi.h:290
Time synchronization configuration structure.
Definition: icss_timeSyncApi.h:348
uint8_t txprotocol
Definition: icss_timeSyncApi.h:828
PRUICSS_Handle pruicssHandle
Definition: icss_timeSyncApi.h:819
Time synchronization parameter handle structure.
Definition: icss_timeSyncApi.h:811
timeStamp clockTime
Definition: icss_timeSyncApi.h:840
uint32_t txTSTaskP2Stack[TASK_STACK_SIZE/sizeof(uint32_t)] __attribute__((aligned(32)))
uint64_t txTsSec
Definition: icss_timeSyncApi.h:646
uint32_t txIntNum
Definition: icss_timeSyncApi.h:397
uint32_t syncOut_sync0PWidth
Definition: icss_timeSyncApi.h:354
ptpDparams_t stackParams
Definition: icss_timeSyncApi.h:848
uint8_t backgroundTaskPriority
Definition: icss_timeSyncApi.h:470
@ PROFINET
Definition: icss_timeSyncApi.h:169
int32_t TimeSync_getRxTimestampFromFrame(TimeSync_ParamsHandle_t timeSyncParamsHandle, uint8_t rxPort, uint32_t *nanoseconds, uint64_t *seconds, uint8_t *TimeStampFromFrame)
Reads and provides timestamp of a received event message.
Parameters required for calculating Cable Delay.
Definition: icss_timeSyncApi.h:623
delayReqRespParams_t * delayParams
Definition: icss_timeSyncApi.h:933
uint16_t ptpPortNumber
Definition: icss_timeSyncApi.h:269
TimeSync_SyncLossCallBack_t timeSyncSyncLossCallBackfn
Definition: icss_timeSyncApi.h:356
int8_t logAnnounceRcptTimeoutInterval
Definition: icss_timeSyncApi.h:369
uint32_t avgCorrectionField
Definition: icss_timeSyncApi.h:559
uint8_t custom_tx_api
Definition: icss_timeSyncApi.h:431
void(* TimeSync_SyncLossCallBack_t)(void)
Sync loss callback function. Call cross module functions in case of loss of synchronization.
Definition: icss_timeSyncApi.h:253
int32_t TimeSync_setClockTime(TimeSync_ParamsHandle_t timeSyncParamsHandle)
Configures the driver memory.
@ ATOMIC_CLOCK
Definition: icss_timeSyncApi.h:220
uint64_t rxTsSec
Definition: icss_timeSyncApi.h:640
TaskP_Object timeSync_TxTSTaskP1
Definition: icss_timeSyncApi.h:866
@ SYNC_FRAME
Definition: icss_timeSyncApi.h:207
uint16_t observedOffsetScaledLogVariance
Definition: icss_timeSyncApi.h:273
struct TimeSync_ParamsHandle_s * TimeSync_ParamsHandle_t
Definition: icss_timeSyncApi.h:962
@ LISTENING
Definition: icss_timeSyncApi.h:146
TimeSync_parent_params_t parentParams
Definition: icss_timeSyncApi.h:582
uint32_t announceSendInterval
Definition: icss_timeSyncApi.h:381
uint8_t driftThreshold
Definition: icss_timeSyncApi.h:602
uint16_t syncSequenceID
Definition: icss_timeSyncApi.h:504
uint32_t nanoseconds
Definition: icss_timeSyncApi.h:236
@ DELAY_REQ_FRAME
Definition: icss_timeSyncApi.h:209
uint8_t * announce_TxBuf
Definition: icss_timeSyncApi.h:330
uint8_t bmcaDone
Definition: icss_timeSyncApi.h:576
uint64_t delayResCorrField
Definition: icss_timeSyncApi.h:762
uint32_t dstIP
Definition: icss_timeSyncApi.h:779
struct PRUICSS_Config_s * PRUICSS_Handle
A handle that is returned from a PRUICSS_open() call. This handle is required for calling other APIs.
Definition: pruicss/m_v0/pruicss.h:226
HwiP_Object timeSync_txTSIsrObject
Definition: icss_timeSyncApi.h:919
uint8_t rxPort
Definition: icss_timeSyncApi.h:834
uint8_t nrrEnable
Definition: icss_timeSyncApi.h:693
netWorkProtType protocol
Definition: icss_timeSyncApi.h:391
void TimeSync_updateDscpValueInDelayRequestFrame(TimeSync_ParamsHandle_t timeSyncHandle, uint8_t dscpValue)
Update DSCP value in IP header in PTP Delay Request buffer.
uint8_t num_entries_index
Definition: icss_timeSyncApi.h:605
uint8_t timestamp_from_shared_ram
Definition: icss_timeSyncApi.h:437
uint8_t clockClass
Definition: icss_timeSyncApi.h:288
#define ICSS_EMAC_MAX_PORTS_PER_INSTANCE
Maximum number of Ports in a single ICSS
Definition: icss_emac.h:66
int32_t ltaOffsetValid
Definition: icss_timeSyncApi.h:556
uint8_t lastSeen_good_drift_index
Definition: icss_timeSyncApi.h:597
@ TERRESTRIAL_RADIO
Definition: icss_timeSyncApi.h:222
ptpFrameTypes_t
PTP Delay Mechanism Type. From Table 9 of Standard.
Definition: icss_timeSyncApi.h:203