Refer to xemaclite.h for more details.
MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ----------------------------------------------- 1.00a ecm 06/01/02 First release 1.01a ecm 03/31/04 Additional functionality and the _AlignedRead and AlignedWrite functions. Moved the bulk of description to xemaclite.h 1.11a mta 03/21/07 Updated to new coding style 2.00a ktn 02/16/09 Added support for MDIO and internal loop back
|
Max ARP packet size |
|
Next buffer's offset same for both TX and RX |
|
ARP Protocol |
|
IP Protocol |
|
VLAN Tagged |
|
Size of CRC |
|
Global Enable |
|
Offset for the GIE Register |
|
IP Length Offset |
|
Offset to length field |
|
Right shift value to align length |
|
Size of header in bytes |
|
length of MAC address |
|
MAC address hi offset |
|
MAC address lo offset |
|
Max length of Rx frame used if length/type field contains the type (> 1500) |
|
Max length of Tx frame |
|
PHY Address mask |
|
PHY Address shift |
|
PHY read access |
|
MDIO Address offset register |
|
MDIO Enable |
|
MDIO Control Register offset |
|
MDIO transfer in Progress |
|
MDIO read data register offset |
|
MDIO write data register offset |
|
Max size of data in frame |
|
Receive packet length upper byte |
|
Receive packet length lower byte |
|
Rx packet length |
|
Rx status |
|
Recv complete |
|
Recv interrupt enable bit |
|
Receive Buffer |
|
Transmit packet length upper byte |
|
Transmit packet length lower byte |
|
Tx packet length |
|
Loop back enable bit |
|
Tx status |
|
define for programming the MAC address into the EmacLite |
|
Program the MAC address |
|
Buffer is active, SW bit only. This is not documented in the HW spec |
|
Xmit complete |
|
Xmit interrupt enable bit |
|
Transmit Buffer |
|
VLAN Tag Size |
|
Get the Rx Status Register Contents.
|
|
Get the Tx Status Register Contents.
|
|
Check to see if the receive is empty.
|
|
Check to see if the transmission is complete.
|
|
Read from the specified EmacLite device register.
|
|
Set the Rx Status Register Contents.
|
|
Set the Tx Status Register Contents.
|
|
Write to the specified EmacLite device register.
|
|
Receive a frame. Wait for a frame to arrive.
If the ping buffer is the source of the data, the argument should be DeviceAddress + XEL_RXBUFF_OFFSET. If the pong buffer is the source of the data, the argument should be DeviceAddress + XEL_RXBUFF_OFFSET + XEL_BUFFER_OFFSET. The function does not take the different buffers into consideration. |
|
Send an Ethernet frame. The size is the total frame size, including header. This function blocks waiting for the frame to be transmitted.
If the ping buffer is the destination of the data, the argument should be DeviceAddress + XEL_TXBUFF_OFFSET. If the pong buffer is the destination of the data, the argument should be DeviceAddress + XEL_TXBUFF_OFFSET + XEL_BUFFER_OFFSET. The function does not take the different buffers into consideration. |
Copyright © 1995-2009 Xilinx, Inc. All rights reserved.