Go to the source code of this file.
Functions | |
int8_t | TimeSync_drvInit (TimeSync_ParamsHandle_t timeSyncHandle) |
Initializes variables and timers & clocks, call once at the beginning. More... | |
int8_t | TimeSync_alloc_PktBuffer (TimeSync_ParamsHandle_t timeSyncHandle) |
Allocate Rx and Tx buffers for frames like Sync, Announce etc. More... | |
void | TimeSync_unAlloc_PktBuffer (TimeSync_ParamsHandle_t timeSyncHandle) |
Unallocate Rx and Tx buffers for frames like Sync, Announce etc. More... | |
void | TimeSync_drvEnable (TimeSync_ParamsHandle_t timeSyncHandle) |
Enable PTP firmware. More... | |
void | TimeSync_drvDisable (TimeSync_ParamsHandle_t timeSyncHandle) |
Disable PTP firmware. More... | |
void | TimeSync_dramInit (TimeSync_ParamsHandle_t timeSyncHandle) |
Initialize PTP stored variables in the DRAM. More... | |
void | TimeSync_setDefaultValue (TimeSync_ParamsHandle_t timeSyncHandle) |
Set Default values for the PTP Object based on clock type. More... | |
void | TimeSync_formatPTPFrames (TimeSync_ParamsHandle_t timeSyncHandle, uint8_t *ifMacID) |
Prepare PTP frames with fields, mac addresses etc. More... | |
void | TimeSync_initializeFollowUp (TimeSync_ParamsHandle_t timeSyncHandle) |
Populate MAC ID, clock identity etc in Follow Up frame. Should be called everytime we change to Master from Slave. More... | |
void | TimeSync_addIP (TimeSync_ParamsHandle_t timeSyncHandle, uint32_t IP) |
Update IP and Modify checksum whenever IP is assigned or changed. More... | |