⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fatconf.h

📁 基于AVR的一个嵌入式的FAT32的代码
💻 H
字号:
//*****************************************************************************
//
// Title		: FAT16/32 file system library configuration
// Authors		: Project A3670
// File Name	: 'fatconf.h'
// Date			: April 26, 2004
// Version		: 1.00
// Target MCU	: Atmel AVR Series
// Editor Tabs	: 4
//
// NOTE: The authors in no way will be responsible for damages that you coul'd be using this code.
//       Use this code at your own risk.
//
//       This code is distributed under the GNU Public License
//       which can be found at http://www.gnu.org/licenses/gpl.txt
//
//*****************************************************************************

#ifndef FATCONF_H
#define FATCONF_H

#include "ataconf.h"

// This Address is defined in ataconf.h, and is used, in ata.c, only to init the drive,
// so we use this here again to optimize the code and the memory usage
// This buffer is used to put de data read from hard disk
#define SECTOR_BUFFER1_ADDR SECTOR_BUFFER_ADDR
//#define SECTOR_BUFFER1_SIZE			0x0200

// This buffer is used to put the fat data read from hard disk
// It's possible to optimize the memory usage using the same buffer as defined above
// but we have to adjust the code and the performance will be decreased.
unsigned char FAT_CACHE_ADDR[512];
//#define FAT_CACHE_SIZE				0x0200

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -