Static Function Declarations; Api Functional Description; Adi_Dev_Init Functional Description - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

Static Function Declarations

This section declares static functions that are used within the device
manager. Each of these functions is described in detail in sections that fol-
low. Only the API functions are declared to be global; all other functions
are static to the device manager.

API Functional Description

This section describes the functionality that is performed for each of the
API functions in the device manager. The API functions include:
adi_dev_Init
adi_dev_Open
adi_dev_Close
adi_dev_Read
adi_dev_Write
adi_dev_Control
Refer to
"Device Manager API Reference" on page 10-57
information.

adi_dev_Init Functional Description

The
adi_dev_Init
detailed reference information, see
Processing begins by checking to ensure enough memory is provided to
operate the device manager. The function then determines how many
physical devices can be controlled with the remaining memory provided.
The critical region pointers are then stored, and the data structure for each
device that can be supported is marked as available for use. The function
then returns to the caller.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
function is used to initialize the device manager. For
"adi_dev_Init" on page
Device Driver Manager
for more API
10-60.
10-35

Advertisement

Table of Contents
loading

Table of Contents