Help: ICE_ICELIB_PIC_DMASTAT

Returns the current DMA index, cycle, and status

Function PIC_DMASTAT - Returns the current DMA index, cycle, and status

PIC	p	Handle to Device 
int	dmac	DMA Channel - usually returned from PIC_IOPORT
int	*index  Current DMA index is returned (zero based)
int	*cycle  Current DMA cycle is returned (zero based)
int	PIC_DMASTAT  Current DMA port status (0=stopped, 1=running)

This routine is useful for obtaining the current DMA host buffer index, 
host buffer cycle number and DMA port status.  

The index value is guaranteed to be from the current cycle.