TI Timesync Low Level Driver abstract APIs.
|
void | LLDTSyncCfgInit (LLDTSyncCfg_t *cfg) |
| Initializes the LLDTSyncCfg_t configuration structure. More...
|
|
LLDTSync_t * | LLDTSyncOpen (LLDTSyncCfg_t *cfg) |
| Opens a new LLDTSync instance to access the PTP clock. More...
|
|
void | LLDTSyncClose (LLDTSync_t *hTSync) |
| Closes the LLDTSync instance. More...
|
|
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. More...
|
|
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. More...
|
|
int | LLDTSyncAdjFreq (LLDTSync_t *hTSync, int ppb) |
| Adjusts the frequency of the PTP clock. More...
|
|
int | LLDTSyncSetTime (LLDTSync_t *hTSync, uint64_t ts) |
| Sets the time for the PTP clock. More...
|
|
int | LLDTSyncGetTime (LLDTSync_t *hTSync, uint64_t *ts) |
| Retrieves the current time from the PTP clock. More...
|
|
int | LLDTSyncEnableTsEvent (LLDTSync_t *hTSync, uint32_t ports[], uint32_t numPorts) |
| Enables PTP timestamp events for specified ports. More...
|
|
int | LLDTSyncShiftTime (LLDTSync_t *hTSync, int64_t offset) |
| Shift the time of the PTP clock by offset nsec. More...
|
|