emaclite
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Groups Pages
XEmacLite_Config Struct Reference

This typedef contains configuration information for a device. More...

#include <xemaclite.h>

Data Fields

char * Name
 Unique name of the device. More...
 
UINTPTR BaseAddress
 Device base address. More...
 
u8 TxPingPong
 1 if TX Pong buffer configured, 0 otherwise More...
 
u8 RxPingPong
 1 if RX Pong buffer configured, 0 otherwise More...
 
u8 MdioInclude
 1 if MDIO is enabled, 0 otherwise More...
 
u8 Loopback
 1 if internal loopback is enabled, 0 otherwise More...
 
u16 IntrId
 Interrupt number. More...
 
UINTPTR IntrParent
 Parent interrupt controller address. More...
 

Detailed Description

This typedef contains configuration information for a device.

Field Documentation

u16 XEmacLite_Config::IntrId
UINTPTR XEmacLite_Config::IntrParent
u8 XEmacLite_Config::Loopback

1 if internal loopback is enabled, 0 otherwise

Referenced by XEmacLite_CfgInitialize(), XEmacLite_DisableLoopBack(), and XEmacLite_EnableLoopBack().

u8 XEmacLite_Config::MdioInclude

1 if MDIO is enabled, 0 otherwise

Referenced by XEmacLite_CfgInitialize(), XEmacLite_PhyRead(), and XEmacLite_PhyWrite().

char* XEmacLite_Config::Name

Unique name of the device.

Referenced by XEmacLite_LookupConfig().

u8 XEmacLite_Config::RxPingPong

1 if RX Pong buffer configured, 0 otherwise

Referenced by XEmacLite_CfgInitialize(), XEmacLite_FlushReceive(), XEmacLite_Recv(), and XEmacLite_SelfTest().

u8 XEmacLite_Config::TxPingPong

1 if TX Pong buffer configured, 0 otherwise

Referenced by XEmacLite_CfgInitialize(), XEmacLite_SelfTest(), XEmacLite_Send(), and XEmacLite_TxBufferAvailable().