Help: ICE_ICELIB_PIC_DMACHAIN

Set up a DMA chain table entry

Function PIC_DMACHAIN - Set up a DMA chain table entry

PIC	p	Handle to Device 
int	dmac	DMA Channel - usually returned from PIC_IOPORT
int	index	Index of this chain entry (1-256)
DMAMAP	map	DMAMAP structure from PIC_MAPMEM or PIC_MAPFILE
int	todo	Number of times to execute this chain (-2 for indefinite)
int	next	Index of the next chain entry (1-256)

This routine is useful for setting up a chain of buffers for continuous
seamless acquisition or playback of multiple host buffers.  Index=1 is
automatically linked to the the parent dmac channel.  The last entry should
set next=0.  Index counts by 1, 2, 3, ...  The actual address of each chain
is determined by the libraries.  See pic_dmadump() for the actual values.