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. 1.11a mta 03/21/07 Updated to new coding style 2.01a ktn 07/20/09 Updated the XEmacLite_AlignedWrite and XEmacLite_AlignedRead functions to use volatile variables so that they are not optimized.
Functions | |
void | XEmacLite_AlignedWrite (void *SrcPtr, u32 *DestPtr, unsigned ByteCount) |
void | XEmacLite_AlignedRead (u32 *SrcPtr, void *DestPtr, unsigned ByteCount) |
void | XEmacLite_SendFrame (u32 BaseAddress, u8 *FramePtr, unsigned ByteCount) |
u16 | XEmacLite_RecvFrame (u32 BaseAddress, u8 *FramePtr) |
|
This function reads from a 32-bit aligned source address range and aligns the writes to the provided destination pointer alignment.
|
|
This function aligns the incoming data and writes it out to a 32-bit aligned destination address range.
|
|
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.