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

# fatconf.h

Go to the documentation of this file.

    00001 /*! \file fatconf.h \brief FAT16/32 file system driver configuration. */
    00002 //*****************************************************************************
    00003 //
    00004 // File Name    : 'fatconf.h'
    00005 // Title        : FAT16/32 file system driver configuration
    00006 // Author       : Pascal Stang
    00007 // Date         : 4/19/2003
    00008 // Revised      : 4/19/2003
    00009 // Version      : 0.3
    00010 // Target MCU   : Atmel AVR Series
    00011 // Editor Tabs  : 4
    00012 //
    00013 // NOTE: This code is currently below version 1.0, and therefore is considered
    00014 // to be lacking in some functionality or documentation, or may not be fully
    00015 // tested.  Nonetheless, you can expect most functions to work.
    00016 //
    00017 // This code is distributed under the GNU Public License
    00018 //      which can be found at http://www.gnu.org/licenses/gpl.txt
    00019 //
    00020 //*****************************************************************************
    00021
    00022 #ifndef FATCONF_H
    00023 #define FATCONF_H
    00024
    00025 // debug on/off
    00026 #define DEBUG_FAT
    00027
    00028 #define SECTOR_BUFFER1_ADDR         0x0600+0x0600
    00029 #define SECTOR_BUFFER1_SIZE         0x0200
    00030
    00031 #define LONGNAME_BUFFER_ADDR        0x0200+0x0600
    00032 #define LONGNAME_BUFFER_SIZE        0x0100
    00033
    00034 #define DIRNAME_BUFFER_ADDR         0x0300+0x0600
    00035 #define DIRNAME_BUFFER_SIZE         0x0100
    00036
    00037 #define FAT_CACHE_ADDR              0x0400+0x0600
    00038 #define FAT_CACHE_SIZE              0x0200
    00039
    00040 #endif