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_CfgInitialize (XAxiDma *InstancePtr, XAxiDma_Config *Config) |
void | XAxiDma_Reset (XAxiDma *InstancePtr) |
int | XAxiDma_ResetIsDone (XAxiDma *InstancePtr) |
int | XAxiDma_Pause (XAxiDma *InstancePtr) |
int | XAxiDma_Resume (XAxiDma *InstancePtr) |
|
This function initializes a DMA engine. This function must be called prior to using a DMA engine. Initializing a engine includes setting up the register base address, setting up the instance data, and ensuring the hardware is in a quiescent state.
|
|
Pause DMA transactions on both channels. If the engine is running and doing transfers, this function does not stop the DMA transactions immediately, because then hardware will throw away our previously queued transfers. All submitted transfers will finish. Transfers submitted after this function will not start until XAxiDma_BdRingStart() or XAxiDma_Resume() is called.
|
|
Reset both TX and RX channels of a DMA engine. Reset one channel resets the whole AXI DMA engine. Any DMA transaction in progress will finish gracefully before engine starts reset. Any other transactions that have been submitted to hardware will be discarded by the hardware.
|
|
Check whether reset is done
|
|
Resume DMA transactions on both channels.
|
Copyright © 1995-2010 Xilinx, Inc. All rights reserved.