 |
AM64x MCU+ SDK
11.01.00
|
|
Go to the documentation of this file.
33 #ifndef ICSS_TIMESYNC_UTILS_H_
34 #define ICSS_TIMESYNC_UTILS_H_
compensationType
Compensation Type Required - depending on PTP timeTransmitter or timeReceiver.
Definition: icss_timeSyncApi.h:244
void TimeSync_addHalfWord(volatile uint8_t *src, uint16_t halfWord)
Add a half word to the packet stream.
uint32_t TimeSync_prepareIEPCfgCommand(TimeSync_ParamsHandle_t timeSyncHandle, compensationType compType)
Returns a prepared command for the IEP Global CFG Register.
void TimeSync_convEndianess(volatile void *src, volatile void *dst, uint8_t numBytes)
Convert specified number of bytes in source from big endian bytes to little endian and vice versa....
void TimeSync_addWord(uint8_t *src, uint32_t word)
Add a word to the packet stream.
void TimeSync_convEnd6to8(volatile void *src, void *dst)
Takes in a 6 byte reverse byte endian source and puts it in an 64 bit double word with correct endian...
void TimeSync_calcIPChecksum(uint8_t *packet)
Compute checksum for IP Header and modify in place.
uint32_t TimeSync_calcChecksum(uint8_t *packet, uint16_t len)
Compute checksum used in IP/UDP packets for a given stream.
uint32_t TimeSync_getIEPCountValue(TimeSync_ParamsHandle_t timeSyncHandle)
Returns the IEP Count value based on the IEP Clock Frequency.
struct TimeSync_ParamsHandle_s * TimeSync_ParamsHandle_t
Definition: icss_timeSyncApi.h:985