VLSI Solution Oy / MegaLib Documentation

FATINFO Struct Reference

#include <fat.h>


Data Fields

u_int16 IS_FAT_32
u_int32 fatStart
u_int32 rootStart
u_int32 dataStart
u_int32 currentSector
u_int32 fileSize
u_int16 fatSectorsPerCluster
u_int16 BPB_RootEntCnt
u_int16 FilSysType
s_int32 totSize
u_int16 fileName [6]
u_int16 gFileNum [2]
s_int32 filePos
s_int32 parentDir
const u_int32supportedSuffixes
u_int16 longFileName [FAT_LFN_SIZE/2]


Detailed Description

Definition at line 44 of file fat.h.


Field Documentation

u_int16 FATINFO::BPB_RootEntCnt
 

Definition at line 52 of file fat.h.

u_int32 FATINFO::currentSector
 

Sector in minifatBuffer

Definition at line 49 of file fat.h.

u_int32 FATINFO::dataStart
 

File Allocation Table start

Definition at line 48 of file fat.h.

u_int16 FATINFO::fatSectorsPerCluster
 

Definition at line 51 of file fat.h.

u_int32 FATINFO::fatStart
 

Fat start sector number

Definition at line 46 of file fat.h.

u_int16 FATINFO::fileName[6]
 

Current file name

Definition at line 55 of file fat.h.

s_int32 FATINFO::filePos
 

Current file byte read position

Definition at line 57 of file fat.h.

u_int32 FATINFO::fileSize
 

Current file size

Definition at line 50 of file fat.h.

u_int16 FATINFO::FilSysType
 

"\p21" for FAT12

Definition at line 53 of file fat.h.

u_int16 FATINFO::gFileNum[2]
 

File number counters

Definition at line 56 of file fat.h.

u_int16 FATINFO::IS_FAT_32
 

FAT32 or FAT16/FAT12

Definition at line 45 of file fat.h.

u_int16 FATINFO::longFileName[FAT_LFN_SIZE/2]
 

Long filename, if exists

Definition at line 61 of file fat.h.

s_int32 FATINFO::parentDir
 

Parent directory start sector

Definition at line 58 of file fat.h.

u_int32 FATINFO::rootStart
 

Root director start

Definition at line 47 of file fat.h.

const u_int32* FATINFO::supportedSuffixes
 

NULL or list of supported suffixes.

Definition at line 59 of file fat.h.

s_int32 FATINFO::totSize
 

Total sectors

Definition at line 54 of file fat.h.


The documentation for this struct was generated from the following file:
All software copyright 2005-2006 VLSI Solution OY. Redistribution of this software is strictly forbidden.