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

Functions

int XAxiEthernet_CfgInitialize (XAxiEthernet *InstancePtr, XAxiEthernet_Config *CfgPtr, UINTPTR EffectiveAddress)
 XAxiEthernet_CfgInitialize initializes an AXI Ethernet device along with the. More...
 
int XAxiEthernet_Initialize (XAxiEthernet *InstancePtr, XAxiEthernet_Config *CfgPtr, UINTPTR EffectiveAddress)
 XAxiEthernet_Initialize initializes an AXI Ethernet device along with the. More...
 
void XAxiEthernet_Start (XAxiEthernet *InstancePtr)
 XAxiEthernet_Start starts the Axi Ethernet device as follows:. More...
 
void XAxiEthernet_Stop (XAxiEthernet *InstancePtr)
 XAxiEthernet_Stop gracefully stops the Axi Ethernet device as follows:. More...
 
void XAxiEthernet_Reset (XAxiEthernet *InstancePtr)
 XAxiEthernet_Reset does not perform a soft reset of the AxiEthernet core. More...
 
int XAxiEthernet_SetMacAddress (XAxiEthernet *InstancePtr, void *AddressPtr)
 Sets the MAC address for the AXI Ethernet device. More...
 
void XAxiEthernet_GetMacAddress (XAxiEthernet *InstancePtr, void *AddressPtr)
 Reads the MAC address for the AXI Ethernet device. More...
 
int XAxiEthernet_SetOptions (XAxiEthernet *InstancePtr, u32 Options)
 XAxiEthernet_SetOptions enables the options, Options for the. More...
 
int XAxiEthernet_ClearOptions (XAxiEthernet *InstancePtr, u32 Options)
 XAxiEthernet_ClearOptions clears the options, Options for the. More...
 
u32 XAxiEthernet_GetOptions (XAxiEthernet *InstancePtr)
 XAxiEthernet_GetOptions returns the current option settings. More...
 
u16 XAxiEthernet_GetOperatingSpeed (XAxiEthernet *InstancePtr)
 Reads the current operating link speed. More...
 
int XAxiEthernet_SetOperatingSpeed (XAxiEthernet *InstancePtr, u16 Speed)
 Sets the current operating link speed. More...
 
void XAxiEthernet_SetBadFrmRcvOption (XAxiEthernet *InstancePtr)
 Enables the bad frame receive option. More...
 
void XAxiEthernet_ClearBadFrmRcvOption (XAxiEthernet *InstancePtr)
 Disables the bad frame receive option. More...
 
void XAxiEthernet_DisableControlFrameLenCheck (XAxiEthernet *InstancePtr)
 Disables the length check for control frames. More...
 
void XAxiEthernet_EnableControlFrameLenCheck (XAxiEthernet *InstancePtr)
 Enables the length check for control frames. More...
 
void XAxiEthernet_PhySetMdioDivisor (XAxiEthernet *InstancePtr, u8 Divisor)
 XAxiEthernet_PhySetMdioDivisor sets the MDIO clock divisor in the. More...
 
void XAxiEthernet_PhyRead (XAxiEthernet *InstancePtr, u32 PhyAddress, u32 RegisterNum, u16 *PhyDataPtr)
 XAxiEthernet_PhyRead reads the specified PHY register, RegiseterNum. More...
 
void XAxiEthernet_PhyWrite (XAxiEthernet *InstancePtr, u32 PhyAddress, u32 RegisterNum, u16 PhyData)
 XAxiEthernet_PhyWrite writes PhyData to the specified PHY register, RegiseterNum on the PHY specified by PhyAddress. More...