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

# fatconf.h

    00001 /*! \file fat.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      : 5/18/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 FAT_SECTOR_BUFFER_ADDR      0x8000+0x40000000
    00029 #define FAT_SECTOR_BUFFER_SIZE      0x0200
    00030
    00031 #define FAT_FILENAME_BUFFER_ADDR    0x8200+0x40000000
    00032 #define FAT_FILENAME_BUFFER_SIZE    0x0100
    00033
    00034 #define FAT_PATHNAME_BUFFER_ADDR    0x8300+0x40000000
    00035 #define FAT_PATHNAME_BUFFER_SIZE    0x0100
    00036
    00037 #define FAT_CACHE_ADDR              0x8400+0x40000000
    00038 #define FAT_CACHE_SIZE              0x0200
    00039
    00040 #endif