Advanced Configuration
Advanced Configuration
This section describes how to go beyond the basics and tailor the initial-
ization of the file system service to suit your requirements.
Custom Configuration of Device Drivers
In
"Getting Started" on page
used were those found in the appropriate header files for the drivers. How-
ever, there will be occasions when your application requires a customized
definition, such as when additional commands need to be added to the
driver's configuration table.
The device definition structures are of type
described in
"File System Service API Data Types and Enumerations" on
page
12-51. This structure is defined in the FSS header file,
<services/fss/adi_fss.h>
The command table is an array of command-value pairs (type
ADI_DEV_CMD_VALUE_PAIR
the system services' device driver model.
Valid commands for the driver configuration table are presented in the
individual driver documents, found in the VisualDSP++ 5.0 installation in
the appropriate sub-folder under
Blackfin\Docs\drivers\pid
for the allocation of DMA buffers (see
page
12-14):
ADI_DEV_CMD_VALUE_PAIR ADI_FAT_ConfigTable [] = {
{ ADI_FSS_CMD_SET_CACHE_HEAP_ID,
{ ADI_DEV_CMD_END,
};
12-12
12-3, the FSD and PID definition structures
.
) that are usual for device drivers that conform to
Blackfin\Docs\drivers\fsd
. An example would be to assign a heap index
"Dynamic Memory Usage" on
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
ADI_FSS_DEVICE_DEF
(void*)2 },
NULL
},
which is
or
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?