adi_dev_Open
Description
This function opens a device for use. Internal data structures are initial-
ized, preliminary device control is established, and the device is reset and
prepared for use.
Prototype
u32 adi_dev_Open(
ADI_DEV_MANAGER_HANDLE
ADI_DEV_PDD_ENTRY_POINT
u32
void
ADI_DEV_DEVICE_HANDLE
ADI_DEV_DIRECTION
ADI_DMA_MANAGER_HANDLE
ADI_DCB_HANDLE
ADI_DCB_CALLBACK_FN
);
Arguments
Argument
ManagerHandle
*pEntryPoint
DeviceNumber
*ClientHandle
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
Explanation
Handle to the device manager that controls the device
Address of the physical driver's entry point
Number identifying which device is open. Device numbers begin with
zero. For example, if there are four serial ports, they are numbered 0
through 3.
Identifier defined by the application. The device manager passes this
value back to the client as an argument in the callback function.
Device Driver Manager
ManagerHandle,
*pEntryPoint,
DeviceNumber,
*ClientHandle,
*pDeviceHandle,
Direction,
DMAHandle,
DCBHandle,
ClientCallback
10-61
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?