xxvethernet
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xxxvethernet_example_util.c File Reference
#include "xxxvethernet_example.h"
#include "sleep.h"

Functions

void XxvEthernetUtilFrameHdrFormatMAC (EthernetFrame *FramePtr, char *DestAddr, char *SrcAddr)
 Sets the MAC addresses in the frame. More...
 
void XxvEthernetUtilFrameHdrFormatType (EthernetFrame *FramePtr, u16 FrameType)
 Sets the frame type for the specified frame. More...
 
void XxvEthernetUtilFrameSetPayloadData (EthernetFrame *FramePtr, int PayloadSize)
 Places an incrementing pattern in the payload section of a frame. More...
 
int XxvEthernetUtilFrameVerify (EthernetFrame *CheckFrame, EthernetFrame *ActualFrame)
 Verifies frame data against a CheckFrame. More...
 
void XxvEthernetUtilFrameMemClear (EthernetFrame *FramePtr)
 Sets all bytes of a frame to 0. More...
 
int XxvEthernetUtilEnterLocalLoopback (XXxvEthernet *XxvEthernetInstancePtr)
 Sets 10G Ethernet in local loopback mode. More...
 
int XxvEthernetUtilUsxgmiiSetup (XXxvEthernet *XxvEthernetInstancePtr, u32 Rate, u32 Duplex)
 Sets up USXGMII at the specified speed with autonegotiation enabled. More...
 
int XxvEthernetUtilUsxgmiiSetupBypassAN (XXxvEthernet *XxvEthernetInstancePtr, u32 Rate, u32 Duplex)
 Sets up USXGMII at the specified speed with autonegotiation bypassed. More...
 
void XxvEthernetUtilErrorTrap (const char *Message)
 Reports an error detected by example code. More...