MAV'RIC
Public Attributes | List of all members
FATFS Struct Reference

File system object structure (FATFS) More...

#include <ff.h>

Collaboration diagram for FATFS:
Collaboration graph

Public Attributes

BYTE fs_type
 FAT sub-type (0:Not mounted)
 
BYTE drv
 Physical drive number.
 
BYTE csize
 Sectors per cluster (1,2,4...128)
 
BYTE n_fats
 Number of FAT copies (1 or 2)
 
BYTE wflag
 win[] flag (b0:dirty)
 
BYTE fsi_flag
 FSINFO flags (b7:disabled, b0:dirty)
 
WORD id
 File system mount ID.
 
WORD n_rootdir
 Number of root directory entries (FAT12/16)
 
DWORD last_clust
 Last allocated cluster.
 
DWORD free_clust
 Number of free clusters.
 
DWORD n_fatent
 Number of FAT entries, = number of clusters + 2.
 
DWORD fsize
 Sectors per FAT.
 
DWORD volbase
 Volume start sector.
 
DWORD fatbase
 FAT start sector.
 
DWORD dirbase
 Root directory start sector (FAT32:Cluster#)
 
DWORD database
 Data start sector.
 
DWORD winsect
 Current sector appearing in the win[].
 
BYTE win [_MAX_SS]
 Disk access window for Directory, FAT (and file data at tiny cfg)
 

Detailed Description

File system object structure (FATFS)


The documentation for this struct was generated from the following file: