emacps: xemacps_control.c File Reference

| emacps Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xemacps_control.c File Reference

## Functions
LONG | XEmacPs_SetMacAddress (XEmacPs *InstancePtr, void *AddressPtr, u8 Index)
| Set the MAC address for this driver/device. More...
void | XEmacPs_GetMacAddress (XEmacPs *InstancePtr, void *AddressPtr, u8 Index)
| Get the MAC address for this driver/device. More...
LONG | XEmacPs_SetHash (XEmacPs *InstancePtr, void *AddressPtr)
| Set 48-bit MAC addresses in hash table. More...
LONG | XEmacPs_DeleteHash (XEmacPs *InstancePtr, void *AddressPtr)
| Delete 48-bit MAC addresses in hash table. More...
void | XEmacPs_ClearHash (XEmacPs *InstancePtr)
| Clear the Hash registers for the mac address pointed by AddressPtr. More...
void | XEmacPs_GetHash (XEmacPs *InstancePtr, void *AddressPtr)
| Get the Hash address for this driver/device. More...
LONG | XEmacPs_SetTypeIdCheck (XEmacPs *InstancePtr, u32 Id_Check, u8 Index)
| Set the Type ID match for this driver/device. More...
LONG | XEmacPs_SetOptions (XEmacPs *InstancePtr, u32 Options)
| Set options for the driver/device. More...
LONG | XEmacPs_ClearOptions (XEmacPs *InstancePtr, u32 Options)
| Clear options for the driver/device. More...
u32 | XEmacPs_GetOptions (XEmacPs *InstancePtr)
| Get current option settings. More...
LONG | XEmacPs_SendPausePacket (XEmacPs *InstancePtr)
| Send a pause packet. More...
u16 | XEmacPs_GetOperatingSpeed (XEmacPs *InstancePtr)
| XEmacPs_GetOperatingSpeed gets the current operating link speed. More...
void | XEmacPs_SetOperatingSpeed (XEmacPs *InstancePtr, u16 Speed)
| XEmacPs_SetOperatingSpeed sets the current operating link speed. More...
void | XEmacPs_SetMdioDivisor (XEmacPs *InstancePtr, XEmacPs_MdcDiv Divisor)
| Set the MDIO clock divisor. More...
LONG | XEmacPs_PhyRead (XEmacPs *InstancePtr, u32 PhyAddress, u32 RegisterNum, u16 *PhyDataPtr)
| Read the current value of the PHY register indicated by the PhyAddress and the RegisterNum parameters. More...
LONG | XEmacPs_PhyWrite (XEmacPs *InstancePtr, u32 PhyAddress, u32 RegisterNum, u16 PhyData)
| Write data to the specified PHY register. More...
void | XEmacPs_DMABLengthUpdate (XEmacPs *InstancePtr, s32 BLength)
| API to update the Burst length in the DMACR register. More...