Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

fat.c File Reference

Detailed Description

Definition in file fat.c.

#include <avr/io.h>
#include <avr/pgmspace.h>
#include <string.h>
#include "ata.h"
#include "rprintf.h"
#include "debug.h"
#include "fat.h"
#include "fatconf.h"

Go to the source code of this file.


unsigned long fatClustToSect (unsigned long clust)
unsigned int fatClusterSize (void)
unsigned char fatInit (unsigned char device)
unsigned char fatGetDirEntry (unsigned short entry)
unsigned char fatChangeDirectory (unsigned short entry)
void fatPrintDirEntry (void)
void fatDumpDirSlot (unsigned short slot)
FileInfoStruct * fatGetFileInfo (void)
unsigned long fatGetFilesize (void)
char * fatGetFilename (void)
char * fatGetDirname (void)
void fatLoadCluster (unsigned long cluster, unsigned char *buffer)
unsigned long fatNextCluster (unsigned long cluster)


unsigned char * SectorBuffer = (unsigned char *) FAT_SECTOR_BUFFER_ADDR
unsigned char * FileNameBuffer = (unsigned char *) FAT_FILENAME_BUFFER_ADDR
unsigned char * PathNameBuffer = (unsigned char *) FAT_PATHNAME_BUFFER_ADDR
partrecord PartInfo
unsigned char Fat32Enabled
unsigned long FirstDataSector
unsigned short BytesPerSector
unsigned short SectorsPerCluster
unsigned long FirstFATSector
unsigned long RootDirStartCluster
unsigned long CurrentDirStartCluster
FileInfoStruct FileInfo
unsigned long FatInCache = 0

Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by  doxygen 1.4.2