Fs_management Struct Reference

#include <fat.h>


Detailed Description

Struture to save the variables frequently used by file system mounted.

Definition at line 267 of file fat.h.


Data Fields

U8 b_mode_nav
 Navigation step ( FS_FILE or FS_DIR ).
U8 b_mode_nav_single
 Navigation File List provide only files or directories.
Fs_rootdir rootdir
 Root directory informations.
FS_STRING sz_filterext
 pointer on extension filter to use in nav_filterlist functions
U16 u16_entry_pos_sel_dir
 Position of selected directory in her parent directory (only use to speed up the get directory name routine).
U16 u16_fat_size
 Size of one FAT (unit 512B).
U16 u16_flat_pos_offset
 Offset in flat list of the directory.
U16 u16_offset_FSInfo
 Offset between the beginning of FAT and the FSInfo sector (only used by FAT32) (unit 512B).
U16 u16_pos_filterlist
 File position in the file list filtered (only for nav_filterlist functions).
U16 u16_pos_sel_file
 File position in the file list (only used by navigation functions).
U32 u32_cluster_sel_dir
 First cluster number of selected directory (0 for the root directory).
U32 u32_CountofCluster
 Number of cluster (include the two reserved cluster).
U32 u32_offset_data
 Offset between the beginning of FAT and the first cluster (unit 512B).
U32 u32_ptr_fat
 FAT address (unit 512B).
U8 u8_BPB_SecPerClus
 Cluster size (unit 512B).
U8 u8_flat_dir_level
 Directory level of the current dir in flat list.
U8 u8_lun
 Number of logical driver.
U8 u8_partition
 Number of partition - 1 (0 or 1).

Field Documentation

Navigation File List provide only files or directories.

Definition at line 287 of file fat.h.

Referenced by fat_clear_entry_info_and_ptr(), nav_dir_gotoparent(), nav_dir_name(), nav_filelist_set(), nav_filelist_single_disable(), nav_filelist_single_enable(), and nav_reset().

Root directory informations.

Definition at line 280 of file fat.h.

Referenced by fat_allocfreespace(), fat_cluster_list(), and fat_mount().

pointer on extension filter to use in nav_filterlist functions

Definition at line 285 of file fat.h.

Referenced by nav_filterlist_nb_ex(), nav_filterlist_next(), nav_filterlist_previous(), and nav_filterlist_setfilter().

Position of selected directory in her parent directory (only use to speed up the get directory name routine).

Definition at line 281 of file fat.h.

Referenced by nav_dir_cd(), and nav_dir_name().

Size of one FAT (unit 512B).

Definition at line 275 of file fat.h.

Referenced by fat_clean_zone(), fat_getfreespace_percent(), fat_initialize_fat(), fat_mount(), fat_select_filesystem(), fat_update_fat2(), and fat_write_PBR().

Offset between the beginning of FAT and the FSInfo sector (only used by FAT32) (unit 512B).

Definition at line 276 of file fat.h.

Referenced by fat_mount(), fat_read_fat32_FSInfo(), fat_write_fat32_FSInfo(), and fat_write_PBR().

File position in the file list filtered (only for nav_filterlist functions).

Definition at line 284 of file fat.h.

Referenced by nav_filterlist_cd(), nav_filterlist_get(), nav_filterlist_goto(), nav_filterlist_mount(), nav_filterlist_nb_ex(), nav_filterlist_next(), nav_filterlist_previous(), nav_filterlist_reset(), and nav_filterlist_root().

File position in the file list (only used by navigation functions).

Definition at line 283 of file fat.h.

Referenced by fat_clear_entry_info_and_ptr(), nav_file_create(), nav_filelist_eol(), nav_filelist_exist(), nav_filelist_get(), nav_filelist_nb(), and nav_filelist_set().

Number of cluster (include the two reserved cluster).

Definition at line 277 of file fat.h.

Referenced by fat_allocfreespace(), fat_getfreespace(), fat_getfreespace_percent(), fat_mount(), and nav_partition_space().

Offset between the beginning of FAT and the first cluster (unit 512B).

Definition at line 279 of file fat.h.

Referenced by fat_cache_clusterlist_update_read(), fat_cluster_list(), fat_mount(), and fat_write_file().

Number of partition - 1 (0 or 1).

Definition at line 271 of file fat.h.

Referenced by fat_check_nav_access_file(), fat_format(), fat_mount(), nav_drive_get(), nav_drive_getname(), nav_drive_set(), nav_getindex(), nav_partition_set(), and nav_reset().


Generated on Fri Feb 19 02:29:01 2010 for AVR32 - FAT Services by  doxygen 1.5.5