Structure to save the variables frequently used by file system mounted.
#include <fat.h>
Data Fields | |
uint8_t | b_mode_nav |
Navigation step ( FS_FILE or FS_DIR ) More... | |
uint8_t | b_mode_nav_single |
Navigation File List provide only files or directories. More... | |
Fs_rootdir | rootdir |
Root directory informations. More... | |
FS_STRING | sz_filterext |
pointer on extension filter to use in nav_filterlist functions More... | |
uint16_t | u16_entry_pos_sel_dir |
Position of selected directory in her parent directory (only use to speed up the get directory name routine) More... | |
uint16_t | u16_flat_pos_offset |
Offset in flat list of the directory. More... | |
uint16_t | u16_offset_FSInfo |
Offset between the beginning of FAT and the FSInfo sector (only used by FAT32) (unit 512B) More... | |
uint16_t | u16_pos_filterlist |
File position in the file list filtered (only for nav_filterlist functions) More... | |
uint16_t | u16_pos_sel_file |
File position in the file list (only used by navigation functions) More... | |
uint32_t | u32_cluster_sel_dir |
First cluster number of selected directory (0 for the root directory) More... | |
uint32_t | u32_CountofCluster |
Number of cluster (include the two reserved cluster) More... | |
uint32_t | u32_fat_size |
Size of one FAT (unit 512B) More... | |
uint32_t | u32_offset_data |
Offset between the beginning of FAT and the first cluster (unit 512B) More... | |
uint32_t | u32_ptr_fat |
FAT address (unit 512B) More... | |
uint8_t | u8_BPB_SecPerClus |
Cluster size (unit 512B) More... | |
uint8_t | u8_flat_dir_level |
Directory level of the current dir in flat list. More... | |
uint8_t | u8_lun |
Number of logical driver. More... | |
uint8_t Fs_management::b_mode_nav |
Navigation step ( FS_FILE or FS_DIR )
Referenced by fat_clear_entry_info_and_ptr(), nav_dir_gotoparent(), nav_dir_name(), nav_file_create(), nav_filelist_eol(), nav_filelist_first(), nav_filelist_nb(), nav_filelist_set(), and nav_filelist_single_enable().
uint8_t Fs_management::b_mode_nav_single |
Navigation File List provide only files or directories.
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().
Fs_rootdir Fs_management::rootdir |
Root directory informations.
Referenced by fat_cluster_list(), and fat_mount().
FS_STRING Fs_management::sz_filterext |
pointer on extension filter to use in nav_filterlist functions
uint16_t Fs_management::u16_entry_pos_sel_dir |
Position of selected directory in her parent directory (only use to speed up the get directory name routine)
Referenced by nav_dir_cd(), and nav_dir_name().
uint16_t Fs_management::u16_flat_pos_offset |
Offset in flat list of the directory.
uint16_t Fs_management::u16_offset_FSInfo |
Offset between the beginning of FAT and the FSInfo sector (only used by FAT32) (unit 512B)
Referenced by fat_mount(), fat_read_fat32_FSInfo(), and fat_write_PBR().
uint16_t Fs_management::u16_pos_filterlist |
File position in the file list filtered (only for nav_filterlist functions)
uint16_t Fs_management::u16_pos_sel_file |
File position in the file list (only used by navigation functions)
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().
uint32_t Fs_management::u32_cluster_sel_dir |
First cluster number of selected directory (0 for the root directory)
Referenced by fat_check_nav_access_file(), fat_mount(), fat_read_dir(), nav_dir_cd(), nav_dir_gotoparent(), nav_dir_is_root(), nav_dir_name(), nav_getindex(), nav_gotoindex(), and nav_partition_mount().
uint32_t Fs_management::u32_CountofCluster |
Number of cluster (include the two reserved cluster)
Referenced by fat_getfreespace(), fat_getfreespace_percent(), fat_mount(), and nav_partition_space().
uint32_t Fs_management::u32_fat_size |
Size of one FAT (unit 512B)
Referenced by fat_clean_zone(), fat_getfreespace_percent(), fat_initialize_fat(), fat_mount(), fat_select_filesystem(), and fat_write_PBR().
uint32_t Fs_management::u32_offset_data |
Offset between the beginning of FAT and the first cluster (unit 512B)
Referenced by fat_cache_clusterlist_update_read(), fat_cluster_list(), and fat_mount().
uint32_t Fs_management::u32_ptr_fat |
FAT address (unit 512B)
Referenced by fat_cache_clusterlist_update_read(), fat_cluster_list(), fat_cluster_val(), fat_initialize_fat(), fat_mount(), fat_read_fat32_FSInfo(), fat_select_filesystem(), and fat_serialnumber().
uint8_t Fs_management::u8_BPB_SecPerClus |
Cluster size (unit 512B)
Referenced by fat_cache_clusterlist_update_finish(), fat_cache_clusterlist_update_read(), fat_clean_zone(), fat_cluster_list(), fat_getfreespace(), fat_getfreespace_percent(), fat_mount(), fat_select_filesystem(), fat_write_PBR(), file_read(), nav_partition_cluster_size(), and nav_partition_space().
uint8_t Fs_management::u8_flat_dir_level |
Directory level of the current dir in flat list.
uint8_t Fs_management::u8_lun |
Number of logical driver.
Referenced by fat_cache_clusterlist_update_finish(), fat_cache_clusterlist_update_read(), fat_cache_read_sector(), fat_check_device(), fat_check_nav_access_file(), fat_format(), fat_mount(), fat_read_dir(), fat_read_file(), file_load_segment_value(), file_open(), file_read_buf(), file_write_buf(), nav_drive_get(), nav_drive_getname(), nav_drive_set(), nav_file_isreadonly(), nav_getindex(), and nav_reset().