Using the Device Manager
Regardless of whether the client needs to make configuration changes, the
client must make two calls into the
calls set the dataflow method of the device and enable dataflow for the
device. These are described in the following sections.
Dataflow Method
The device manager supports three dataflow methods: circular, chained,
and chained with loopback. Prior to providing the device manager with
any buffers or enabling dataflow, the application must inform the device
manager of the dataflow method to use by calling the
function with the
the dataflow method has been defined, the client can provide inbound
buffers (via the
function) to the device.
devWrite
As shown in
Figure
method whereby a single circular buffer is provided to the device manager,
assuming the device was opened for unidirectional traffic.
ONE
CONTIGUOUS
BUFFER
Figure 10-2. Circular Buffer Operation
10-12
ADI_DEV_CMD_SET_DATAFLOW_METHOD
function) or outbound buffers (via the
adi_dev_Read
10-2, the circular dataflow method defines the
SUB-BUFFER 0
SUB-BUFFER 1
. . .
SUB-BUFFER N
CALLBACK ON SUB-BUFFER COMPLETE
CALLBACK ON ENTIRE BUFFER COMPLETE
VisualDSP++ 5.0 Device Drivers and System
adi_dev_Control()
Services Manual for Blackfin Processors
function. These
adi_dev_Control()
command. After
adi_
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?