MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 1.00a jz 05/18/10 First release 2.00a jz 08/10/10 Second release, added in xaxidma_g.c, xaxidma_sinit.c, updated tcl file, added xaxidma_porting_guide.h 3.00a jz 11/22/10 Support IP core parameters change
Functions | |
int | XAxiDma_BdSetLength (XAxiDma_Bd *BdPtr, u32 LenBytes) |
int | XAxiDma_BdSetBufAddr (XAxiDma_Bd *BdPtr, u32 Addr) |
int | XAxiDma_BdSetAppWord (XAxiDma_Bd *BdPtr, int Offset, u32 Word) |
u32 | XAxiDma_BdGetAppWord (XAxiDma_Bd *BdPtr, int Offset, int *Valid) |
void | XAxiDma_BdSetCtrl (XAxiDma_Bd *BdPtr, u32 Data) |
void | XAxiDma_DumpBd (XAxiDma_Bd *BdPtr) |
|
Get the APP word at the specified APP word offset for a BD.
|
|
Set the APP word at the specified APP word offset for a BD.
|
|
Set the BD's buffer address.
|
|
Set the control bits for a BD.
|
|
Set the length field for the given BD. Length has to be non-zero and less than XAXIDMA_MAX_TRANSFER_LEN. For TX channels, the value passed in should be the number of bytes to transmit from the TX buffer associated with the given BD. For RX channels, the value passed in should be the size of the RX buffer associated with the given BD in bytes. This is to notify the RX channel the capability of the RX buffer to avoid buffer overflow. The actual receive length can be equal or smaller than the specified length. The actual transfer length will be updated by the hardware in the XAXIDMA_BD_STS_OFFSET word in the BD.
|
|
Dump the fields of a BD.
|
Copyright © 1995-2010 Xilinx, Inc. All rights reserved.