Adi_Dev_Init - Analog Devices VisualDSP++ 5.0 Service Manual

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

Device Manager API Reference

adi_dev_Init

Description
This function creates a device manager and initializes memory for the
device manager. This function is typically called at initialization time.
Prototype
u32 adi_dev_Init(
void
size_t
u32
ADI_DEV_MANAGER_HANDLE
void
);
Arguments
pMemory
MemorySize
*pMaxDevices
*pManagerHandle
*pEnterCriticalParam
Return Value
ADI_DEV_RESULT_SUCCESS
ADI_DEV_RESULT_NO_MEMORY
10-60
*pMemory,
MemorySize,
*pMaxDevices,
*pManagerHandle,
*pEnterCriticalParam
Pointer to an area of static memory used by the device man-
ager
Size, in bytes, of memory supplied for the device manager
On return, this argument contains the number of simulta-
neously open devices that the device manager can support
given the memory supplied.
Pointer to memory location where the handle to the device
manager is stored
Parameter that is passed to the function that protects critical
areas of code
Device manager was successfully initialized.
Insufficient memory has been supplied to device manager.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents