ADLINK PCIe-7300A User Manual

Page 96

Advertising
background image

86

C/C++

Libraries

** This memory should be double-word alignment

count

:For non-chaining mode, this is the total number of digital

output data in double-words (4-byte). The value of count can not
exceed 2^21 (about 2 million). For chaining mode, please set this
argument as 0. The number of digital output is determined by the
information in DMA descriptor nodes.

repeat

(DOS):0: Use non-chaining mode DMA transfer. The digi-

tal output data is stored in buff.

1: Use chaining mode DMA transfer. The digital output data
is stored in several buffers. The information of the buffers is
stored in DMA description nodes. All description nodes are
chained together.

dma_dscr_ptr

(DOS):the pointer to the first DMA description

node. Since the DMA description nodes are chained together, with
giving this pointer, data in all buffers will be transferred.

@ Return Code

NoError

PCICardNumErr

PCICardNotInit

DMATransferNotAllowed

InvalidDIOCount

BufNotDWordAlign

DMADscrBadAlign

Advertising