
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 31
edt_startdma_reg(edt_p, PDV_CMD, PDV_ENABLE_GRAB);
Return
void
See Also
edt_startdma_action()
edt_abort_dma
Description
Stops any transfers currently in progress, resets the ring buffer pointers to restart on the current buffer.
Syntax
#include "edtinc.h"
int edt_abort_dma(EdtDev *edt_p);
Arguments
edt_p device handle returned from edt_open or edt_open_channel.
Return
0 on success; –1 on error. If an error occurs, call edt_perror() to get the system error message.
edt_abort_current_dma
Description
Stops the current transfers, resets the ring buffer pointers to the next buffer.
Syntax
#include "edtinc.h"
int edt_abort_current_dma(EdtDev *edt_p);
Arguments
edt_p device handle returned from edt_open or edt_open_channel.
Return
0 on success, -1 on failure
edt_get_bytecount
Description
Returns the number of bytes transferred since the last call of edt_open, accurate to the burst size, if
burst is enabled.
Syntax
#include "edtinc.h"
int edt_get_bytecount(EdtDev *edt_p);
Kommentare zu diesen Handbüchern