axiethernet
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xavb_rtc_sync.c File Reference
#include "xil_types.h"
#include "xavb_hw.h"
#include "xavb.h"

Functions

u32 XAvb_CaptureNanoSec (u32 BaseAddress, u32 PtpFrameBaseAddr)
 Captures the nanosecond timestamp field from a received PTP frame. More...
 
void XAvb_CalcDelay (XAvb *InstancePtr)
 Measures the link delay of the local full-duplex Ethernet link. More...
 
void XAvb_CalcRtcOffset (XAvb *InstancePtr, u32 PtpFrameBaseAddr)
 Calculates the slave RTC offset from the grandmaster time. More...
 
void XAvb_Adjust8kClock (u32 BaseAddress, u32 NewOffset)
 Adjusts the phase offset of the 8 kHz clock. More...
 
void XAvb_UpdateRtcIncrement (XAvb *InstancePtr)
 Calculates the RTC increment value based on the slave error. More...