Adi_Fss_Init - Analog Devices VisualDSP++ 5.0 Service Manual

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

Advertisement

File System Service API Reference

adi_fss_Init

Description
This function initializes the file system service and prepares it for opera-
tion. Configuration is effected by supplying a table of command-value
pairs. The only mandatory commands are:
ADI_FSS_CMD_ADD_DRIVER
ADI_FSS_CMD_SET_DEV_MGR_HANDLE
In addition to these commands, others may also be used as appropriate for
the physical interface and file system drivers present in the overall configu-
ration. Please refer to the relevant driver documentation for further
details. The optional commands are:
ADI_FSS_CMD_SET_DMA_MGR_HANDLE
ADI_FSS_CMD_SET_DCB_MGR_HANDLE
ADI_FSS_CMD_SET_CACHE_HEAP_ID
ADI_FSS_CMD_SET_GENERAL_HEAP_ID
ADI_FSS_CMD_SET_NUMBER_CACHE_BLOCKS
ADI_FSS_CMD_SET_NUMBER_CACHE_SUB_BLOCKS
ADI_FSS_CMD_SET_MALLOC_FUNC
ADI_FSS_CMD_SET_REALLOC_FUNC
12-20
(0xB0005) Sets the location of the
ADI_FSS_DEVICE_DEF
system driver (FSD) or physical interface driver (PID).
This command is mandatory only for FSDs.
(0xB000E) Sets device manager handle
(0xB000D) Sets DMA manager handle. It is
required only if a PID uses peripheral DMA.
(0xB000F) Sets DCB queue manager handle.
It is strongly recommended to use deferred
callbacks in a standalone application, and
compulsory in a VDK application.
(0xB0011) Heap ID for cache blocks
(0xB0014) Heap ID for file descriptors
(0xB0012) Number of cache blocks to use
(min 2)
(0xB0013) Number of cache sub-blocks to
use (min 1). It is highly recommended not to
alter this value.
(0xB0006) Sets client
(0xB0007) Sets client
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
structure defining either a file
function
malloc
function
realloc

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