axiethernet
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xavb_example.c File Reference
#include "xparameters.h"
#include "xil_types.h"
#include "xintc.h"
#include "xil_exception.h"
#include "xavb_hw.h"
#include "xavb.h"
#include "xil_cache.h"
#include "xaxiethernet.h"

Macros

#define AXIETHERNET_DEVICE_ID   XPAR_AXIETHERNET_0_DEVICE_ID
 The following constants map to the XPAR parameters created in the. More...
 
#define AVB_PTP_RX_INTERRUPT_ID   XPAR_INTC_0_AXIETHERNET_0_AV_INTERRUPT_PTP_RX_VEC_ID
 AVB PTP receive interrupt ID. More...
 
#define AVB_PTP_INTERRUPT_ID   XPAR_INTC_0_AXIETHERNET_0_AV_INTERRUPT_10MS_VEC_ID
 AVB PTP timer interrupt ID. More...
 
#define PHY_DETECT_REG   1
 PHY DETECT REG. More...
 
#define PHY_DETECT_MASK   0x1808
 PHY detect register mask. More...
 
#define PHY_R0_RESET   0x8000
 PHY control register reset bit. More...
 
#define PHY_R0_LOOPBACK   0x4000
 PHY control register loopback bit. More...
 
#define PHY_R0_DFT_SPD_1000   0x0040
 PHY default speed bit for 1000 Mbps. More...
 
#define ETH_SYSTEM_ADDRESS_EUI48_HIGH   0x000A35
 Upper bytes of the Ethernet EUI-48 address. More...
 
#define ETH_SYSTEM_ADDRESS_EUI48_LOW   0x010203
 Lower bytes of the Ethernet EUI-48 address. More...
 

Functions

void AvbGMDiscontinuityHandler (void *CallBackRef, u32 TimestampsUncertain)
 is the handler which will be called if the PTP drivers. More...
 
int main ()
 Main entry point for the AVB example. More...