apfs_fat32_table.h
来自「一个可以在开发板上运行的fat文件系统,是在windows平台下开发的,是学习文」· C头文件 代码 · 共 31 行
H
31 行
//-----------------------------------------------------------------------------
// This file is part of AP.FS
// AP.FS is a FAT32 file system face to the embedded system,It's target is to
// support the portable storage device such as SD Card,TF Card or USB Disc 's
// file system.
// please login www.another-prj.com to get more details.
// caiyuqing
// 2008-1-8
//-----------------------------------------------------------------------------
#ifndef _APFS_FAT32_TABLE_H
#define _APFS_FAT32_TABLE_H
#include "../typedef.h"
//-----------------------------------------------------------------------------
// FAT Sector Read/Write Buffer
//-----------------------------------------------------------------------------
struct sector_buffer
{
BYTE data[512];
BYTE zero_buf[512];
UINT32 sector;
BOOL changed;
UINT32 reads;
UINT32 writes;
} ;
#define FAT32_GET_32BIT_WORD(location) ( GET_32BIT_WORD(sector_buffer.data, location) )
#define FAT32_SET_32BIT_WORD(location, value) { SET_32BIT_WORD(sector_buffer.data, location, value); sector_buffer.changed = TRUE; }
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?