fat32_base.h

来自「hd driver for S3C44B0。44b0 + ide + fat32」· C头文件 代码 · 共 30 行

H
30
字号
#ifndef FAT32_BASE_H
#define FAT32_BASE_H
//-----------------------------------------------------------------------------
// Globals
//-----------------------------------------------------------------------------
typedef struct {
	   // Filesystem globals
	   UI8 SectorsPerCluster;
	   UI32 cluster_begin_lba;
	   UI32 RootDir_First_Cluster;
	   UI32 fat_begin_lba;
          UI32 filenumber;
	   //Long File Name Structure (max 91 LFN length)
	   UI8 String[7][13];
	   UI8 no_of_strings;
} FAT32_t;

extern FAT32_t  FAT32;
//-----------------------------------------------------------------------------
// Prototypes
//-----------------------------------------------------------------------------
UI32 FAT32_FindLBABegin(void);
UI32 FAT32_LBAofCluster(UI32 Cluster_Number);
void FAT32_FindFAT32Details(void);
UI32 FAT32_FindNextCluster(UI32 Current_Cluster);


#endif

⌨️ 快捷键说明

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