Go to the documentation of this file.
   10 #define MAX_LONGFILENAME_ENTRIES    20 
   11 #define MAX_LFN_ENTRY_LENGTH        13 
   16 #define GET_32BIT_WORD(buffer, location)    ( ((uint32)buffer[location+3]<<24) + ((uint32)buffer[location+2]<<16) + ((uint32)buffer[location+1]<<8) + (uint32)buffer[location+0] ) 
   17 #define GET_16BIT_WORD(buffer, location)    ( ((uint16)buffer[location+1]<<8) + (uint16)buffer[location+0] ) 
   19 #define SET_32BIT_WORD(buffer, location, value)    { buffer[location+0] = (uint8)((value)&0xFF); \ 
   20                                                   buffer[location+1] = (uint8)((value>>8)&0xFF); \ 
   21                                                   buffer[location+2] = (uint8)((value>>16)&0xFF); \ 
   22                                                   buffer[location+3] = (uint8)((value>>24)&0xFF); } 
   24 #define SET_16BIT_WORD(buffer, location, value)    { buffer[location+0] = (uint8)((value)&0xFF); \ 
   25                                                   buffer[location+1] = (uint8)((value>>8)&0xFF); } 
   32 #if FATFS_INC_LFN_SUPPORT 
  
 
void fatfs_sfn_create_entry(char *shortfilename, uint32 size, uint32 startCluster, struct fat_dir_entry *entry, int dir)
 
int fatfs_lfn_entries_required(char *filename)
 
int fatfs_entry_is_dir(struct fat_dir_entry *entry)
 
void fatfs_print_sector(uint32 sector, uint8 *data)
 
uint16 fatfs_convert_to_fat_time(int hours, int minutes, int seconds)
 
int fatfs_entry_is_file(struct fat_dir_entry *entry)
 
int fatfs_lfn_generate_tail(char *sfn_output, char *sfn_input, uint32 tailNum)
 
uint16 fatfs_convert_to_fat_date(int day, int month, int year)
 
char * fatfs_lfn_cache_get(struct lfn_cache *lfn)
 
void fatfs_lfn_cache_entry(struct lfn_cache *lfn, uint8 *entryBuffer)
 
void fatfs_filename_to_lfn(char *filename, uint8 *buffer, int entry, uint8 sfnChk)
 
#define MAX_LONGFILENAME_ENTRIES
 
#define MAX_LFN_ENTRY_LENGTH
 
void fatfs_convert_from_fat_time(uint16 fat_time, int *hours, int *minutes, int *seconds)
 
int fatfs_entry_lfn_invalid(struct fat_dir_entry *entry)
 
void fatfs_lfn_cache_init(struct lfn_cache *lfn, int wipeTable)
 
int fatfs_entry_lfn_exists(struct lfn_cache *lfn, struct fat_dir_entry *entry)
 
int fatfs_entry_lfn_text(struct fat_dir_entry *entry)
 
int fatfs_lfn_create_sfn(char *sfn_output, char *filename)
 
int fatfs_entry_sfn_only(struct fat_dir_entry *entry)
 
void fatfs_convert_from_fat_date(uint16 fat_date, int *day, int *month, int *year)