00001 /************************************************************************* 00002 Author: $Author: dennis $ 00003 File: $HeadURL: file:///home/dennis/svn-store/avr-source/mptry-fat32/html/fat16__config_8h-source.html $ 00004 Date: $Date: 2008-09-17 19:39:04 +0200 (Mi, 17. Sep 2008) $ 00005 Revision: $Revision: 111 $ 00006 Id: $Id: fat16__config_8h-source.html 111 2008-09-17 17:39:04Z dennis $ 00007 Licence: GNU General Public License 00008 *************************************************************************/ 00009 /* 00010 * Copyright (c) 2006-2008 by Roland Riegel <feedback@roland-riegel.de> 00011 * 00012 * This file is free software; you can redistribute it and/or modify 00013 * it under the terms of either the GNU General Public License version 2 00014 * or the GNU Lesser General Public License version 2.1, both as 00015 * published by the Free Software Foundation. 00016 */ 00017 00018 #ifndef FAT16_CONFIG_H 00019 #define FAT16_CONFIG_H 00020 00021 #include <stdint.h> 00022 00039 #define FAT16_WRITE_SUPPORT 1 00040 00047 #define FAT16_DATETIME_SUPPORT 0 00048 00065 #define fat16_get_datetime(year, month, day, hour, min, sec) \ 00066 get_datetime(year, month, day, hour, min, sec) 00067 00068 /* forward declaration for the above */ 00069 void get_datetime(uint16_t* year, uint8_t* month, uint8_t* day, uint8_t* hour, uint8_t* min, uint8_t* sec); 00070 00075 #define FAT16_FS_COUNT 1 00076 00081 #define FAT16_FILE_COUNT 1 00082 00087 #define FAT16_DIR_COUNT 2 00088 00093 #endif 00094