FAT_VI
The type FAT_VI describes the FAT volume information control block. The structure is defined in the file File_Config.h as follows:
typedef struct {
U32 Status; /* Volume Status */
FAT_DRV* drv; /* Registered FAT Device Driver */
U32* CaBuf; /* Cache Buffer (FAT + Data) */
U32 CaSize; /* Cache Buffer size */
FATINFO cfg; /* FAT Volume configuration */
FCACHE fat; /* FAT table cache control */
DCACHE ca; /* Data cache control */
FATVAR lv; /* Local instance of FAT variables */
} FAT_VI;
Example:
#include <file_config.h>
...
FAT_VI fatVolumeInfo;
...
fatVolumeInfo.CaBuf = 2011; /* FAT + Cache */
...