/* Assign the DCB Queue Handle */
{ ADI_FSS_CMD_SET_DCB_MGR_HANDLE, (void*)adi_dcb_QueueHandle },
/* Command Table Terminator */
{ ADI_FSS_CMD_END, (void*)NULL }
};
The address of this command-value pair table is simply passed to the
adi_fss_Init()
Result = adi_fss_Init( adi_fss_Config );
The above command-value pair table configures the FSS to access a hard
drive attached to the ATA/ATAPI interface of the ADSP-BF54x proces-
sor. The definition structures
be defined in the application itself, or taken from the device driver header
files. To do the latter, a macro must be defined ahead of the
statement. The following is the quickest way to get up and running with
the above command-value pair table:
/* FAT12/16/32 FSD driver */
#define _ADI_FAT_DEFAULT_DEF_
#include <drivers/fsd/fat/adi_fat.h>
/* ATAPI interface */
#define _ADI_ATAPI_DEFAULT_DEF_
#include <drivers/pid/atapi/adi_atapi.h>
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
API function as follows:
ADI_ATAPI_Def
File System Service
and
can either
ADI_FAT_Def
#include
12-5
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?