
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 37
edt_get_burst_enable
Description
Returns the value of the burst enable flag, determining whether the DMA master transfers as many
words as possible at once, or transfers them one at a time as soon as the data is acquired. Burst transfers
are enabled by default to optimize use of the bus. For more information, see edt_set_burst_enable on
page 37.
Syntax
#include "edtinc.h"
int edt_get_burst_enable(EdtDev *edt_p);
Arguments
edt_p
device handle returned from edt_open or edt_open_channel
Return
A value of 1 if burst transfers are enabled; 0 otherwise.
edt_set_burst_enable
Description
Sets the burst enable flag, determining whether the DMA master transfers as many words as possible at
once, or transfers them one at a time as soon as the data is acquired. Burst transfers are enabled by
default to optimize use of the bus; however, you may wish to disable them if data latency is an issue, or
for diagnosing DMA problems.
Syntax
#include "edtinc.h"
void edt_set_burst_enable(EdtDev *edt_p, int onoff);
Arguments
edt_p
device handle returned from edt_open or edt_open_channel
onoff
A value of 1 turns the flag on (the default); 0 turns it off.
Return
No return value.
edt_get_firstflush
Description
Returns the value set by edt_set_firstflush(). This is an obsolete function that was only used as a kludge
to detect EDT_ACT_KBS (also obsolete).
Syntax
int edt_get_firstflush(EdtDev *edt_p)
Arguments
edt_p
device struct returned from edt_open.
Kommentare zu diesen Handbüchern