ASF docs
3.1.3
Some important library documentation
|
#include "conf_explorer.h"
#include "fs_com.h"
#include "fat.h"
#include <LIB_MEM>
#include <LIB_CTRLACCESS>
Go to the source code of this file.
Macros | |
#define | _fat_c_ |
Functions | |
bool | fat_check_device (void) |
This function checks device state. | |
bool | fat_check_mount (void) |
This function checks if the partition is mounted. | |
bool | fat_check_noopen (void) |
This function checks if a file is not opened on current navigator. | |
bool | fat_check_open (void) |
This function checks if a file is opened on current navigator. | |
bool | fat_check_select (void) |
This function checks if a file is selected on current navigator. | |
bool | fat_check_mount_noopen (void) |
This function checks if the partition is mounted and no file is opened. | |
bool | fat_check_mount_select_noopen (void) |
This function checks if the partition is mounted and if no file is opened and a file is selected. | |
bool | fat_check_mount_select_open (void) |
This function checks if the partition is mounted and if a file is opened. | |
bool | fat_check_mount_select (void) |
This function checks if the partition is mounted and if a file is selected. | |
bool | fat_check_is_file (void) |
This function checks if the selected file entry is a file and not a directory. | |
uint8_t | fat_get_nbpartition (void) |
This function returns the number of partition on current drive. | |
bool | fat_cluster_list (uint8_t opt_action, bool b_for_file) |
This function gets or clears a cluster list. | |
bool | fat_read_file (uint8_t mode) |
This function gets or clears a cluster list at the current position in the selected file. | |
bool | fat_read_dir (void) |
This function fill the internal cache with a sector from current directory. | |
bool | fat_entry_check (bool b_type) |
This function checks the entry. | |
bool | fat_entry_checkext (FS_STRING sz_filter) |
This function checks the file extension. | |
void | fat_get_entry_info (void) |
This function reads information about selected file. | |
bool | fat_entry_is_dir (void) |
This function checks if the entry file is a directory. | |
void | fat_clear_entry_info_and_ptr (void) |
This function resets the selection pointers. | |
bool | fat_entry_shortname (FS_STRING sz_name, uint8_t u8_size_max, bool b_mode) |
This function returns or compares the short name entry. | |
bool | fat_entry_longname (FS_STRING sz_name, uint8_t u8_size_max, bool b_mode, bool b_match_case) |
This function returns or compares the long name entry. | |
bool | fat_check_eof_name (uint16_t character) |
Check end of name. | |
PTR_CACHE | fat_get_ptr_entry (void) |
This function returns a cache pointer on the current entry. | |
bool | fat_cache_read_sector (bool b_load) |
This function loads a memory sector in internal cache sector. | |
void | fat_cache_reset (void) |
This function resets the sector cache. | |
bool | fat_cache_flush (void) |
This function flushs the sector cache on the memory if necessary. | |
Internal functions to manage cluster list caches | |
void | fat_cache_clusterlist_update_start (bool b_for_file) |
This function initializes a cache in cluster list caches. | |
void | fat_cache_clusterlist_update_finish (void) |
This function updates a cache of cluster list caches. | |
bool | fat_cache_clusterlist_update_read (bool b_for_file) |
This function searchs a cluster list in cluster list caches. | |
void | fat_cache_clusterlist_update_select (void) |
This function signals that a cache is used. | |
void | fat_cache_clusterlist_reset (void) |
This function resets the cluster list caches. |
Variables | |
Variables to manage cluster list caches | |
_MEM_TYPE_SLOW_ Fs_clusterlist_cache | fs_g_cache_clusterlist [FS_NB_CACHE_CLUSLIST *2] |
_MEM_TYPE_SLOW_ uint8_t | fs_g_u8_current_cache |
Position of the current cluster in the FAT <br> | |
Global variable used to take time with routines fat_cluster_readnext() and fat_cluster_val() | |
_MEM_TYPE_FAST_ uint16_t | fs_g_u16_pos_fat |
bool | fat_cluster_val (bool b_mode) |
This function returns or modifys a cluster value in FAT. | |
bool | fat_cluster_readnext (void) |
This function is optimized to read a continue cluster list on FAT16 and FAT32. | |
uint8_t | fat_checkcluster (void) |
This function checks the cluster value. |
bool fat_cache_clusterlist_update_read | ( | bool | b_for_file | ) |
void fat_cache_clusterlist_update_start | ( | bool | b_for_file | ) |
_MEM_TYPE_SLOW_ Fs_clusterlist_cache fs_g_cache_clusterlist[FS_NB_CACHE_CLUSLIST *2] |