Analog Devices VisualDSP++ 5.0 Service Manual page 524

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

Advertisement

Getting Started
Initialization
The file system service is built on the system services' device driver model and
as such requires the use of both the device manager and the system services. It
is necessary, therefore, to configure the application for the use of the system
services and device manager before initializing the file system service. The
application developer should refer to the appropriate documentation for each
of the required file system drivers and physical interface drivers in order to
determine which resources are required.
The file system service is configured for use by registering the required file sys-
tem drivers and physical interface drivers, along with the device manager and
DMA manager handles, and the handle of a deferred callback queue. This is
achieved by passing a command-value pair table to the
function. The simplest table is:
ADI_FSS_CMD_VALUE_PAIR adi_fss_Config[] = {
/* Register the ATA/ATAPI interface driver */
{ ADI_FSS_CMD_ADD_DRIVER,
/* Register the FAT File System driver */
{ ADI_FSS_CMD_ADD_DRIVER,
/* Assign the DMA Manager Handle */
{ ADI_FSS_CMD_SET_DMA_MGR_HANDLE, (void*)adi_dma_ManagerHandle },
/* Assign the Device Manager Handle */
{ ADI_FSS_CMD_SET_DEV_MGR_HANDLE, (void*)adi_dev_ManagerHandle },
12-4
(void*)&ADI_ATAPI_Def },
(void*)&ADI_FAT_Def },
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
API
adi_fss_Init()

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?

Table of Contents