apfs_fat32_base.h

来自「一个可以在开发板上运行的fat文件系统,是在windows平台下开发的,是学习文」· C头文件 代码 · 共 30 行

H
30
字号
//-----------------------------------------------------------------------------
// 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_BASE_H
#define _APFS_FAT32_BASE_H
#include "../typedef.h"

struct fat32
{
	   BYTE sectors_per_cluster;
	   UINT32 cluster_begin_lba;
	   UINT32 rootdir_first_cluster;
	   UINT32 fat_begin_lba;
       UINT32 filenumber;
	   UINT16 fs_info_sector;
	   UINT32 lba_begin;
	   UINT32 fat_sectors;
};

BOOL apfs_fat32_find_lba_begin(BYTE *buffer, UINT32 *lba_begin);
BOOL apfs_fat32_init(void);
void apfs_fat32_show_details(struct FAT32 *fat32_struct);

#endif

⌨️ 快捷键说明

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