xxvethernet
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xxxvethernet_example.h File Reference
#include "xparameters.h"
#include "xxxvethernet.h"
#include "stdio.h"

Macros

#define XXV_AXIDEVTYPE_MASK   0xF
 Mask for AXI device type bits in the base address. More...
 
#define XXV_AXIDMA   0x2
 AXI DMA device type identifier. More...
 
#define XXV_MCDMA   0x3
 AXI MCDMA device type identifier. More...
 

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...
 
void XxvEthernetUtilErrorTrap (const char *Message)
 Reports an error detected by example code. 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...