 |
AM261x MCU+ SDK
10.02.00
|
|
Go to the documentation of this file.
118 uint16_t seqId, uint8_t domain, uint64_t *ts);
131 uint16_t seqId, uint8_t domain, uint64_t *ts);
184 uint16_t seqId, uint8_t domain);
196 uint8_t* frame, uint32_t size);
int LLDTsyncPhyWaitTxTs(LLDTSync_t *hTSync, uint8_t txPort, int msgType, uint16_t seqId, uint8_t domain)
Put the TX packet in the wait list.
int LLDTSyncGetRxTime(LLDTSync_t *hTSync, uint8_t rxPort, int msgType, uint16_t seqId, uint8_t domain, uint64_t *ts)
Retrieves the PTP RX timestamp for a specific message.
void LLDTSyncCfgInit(LLDTSyncCfg_t *cfg)
Initializes the LLDTSyncCfg_t configuration structure.
int LLDTSyncAdjFreq(LLDTSync_t *hTSync, int ppb)
Adjusts the frequency of the PTP clock.
uint32_t enetType
Definition: lldtsync.h:68
@ LLDTSYNC_TS_SOURCE_CPTS
Definition: lldtsync.h:78
int LLDTSyncSetTime(LLDTSync_t *hTSync, uint64_t ts)
Sets the time for the PTP clock.
int LLDTSyncEnableTsEvent(LLDTSync_t *hTSync, uint32_t ports[], uint32_t numPorts)
Enables PTP timestamp events for specified ports.
void LLDTSyncClose(LLDTSync_t *hTSync)
Closes the LLDTSync instance.
Data types and macros for TI Enet LLD abstract APIs.
uint32_t instId
Definition: lldtsync.h:72
int LLDTSyncGetTime(LLDTSync_t *hTSync, uint64_t *ts)
Retrieves the current time from the PTP clock.
int LLDTSyncShiftTime(LLDTSync_t *hTSync, int64_t offset)
Shift the time of the PTP clock by offset nsec.
Configuration structure for LLDTSync.
Definition: lldtsync.h:64
LLDTSync_t * LLDTSyncOpen(LLDTSyncCfg_t *cfg, LLDTsyncTsSource tsSource)
Opens a new LLDTSync instance to access the PTP clock.
@ LLDTSYNC_TS_SOURCE_INVALID
Definition: lldtsync.h:77
LLDTsyncTsSource
Definition: lldtsync.h:76
struct LLDTSync LLDTSync_t
Structure representing the LLDTSync instance.
Definition: lldtsync.h:85
int LLDTSyncProcPhyStatusFrame(void *hEnet, uint8_t coreId, uint8_t txPort, uint8_t *frame, uint32_t size)
Process the status frame.
@ LLDTSYNC_TS_SOURCE_PHY
Definition: lldtsync.h:79
int LLDTSyncGetTxTime(LLDTSync_t *hTSync, uint8_t txPort, int msgType, uint16_t seqId, uint8_t domain, uint64_t *ts)
Retrieves the PTP TX timestamp for a specific message.