struct FAT32_FAT_Item
{
unsigned char Item[4];
};
struct FAT32_FAT
{
struct FAT32_FAT_Item Items[128];
};
unsigned long FAT32_GetNextCluster(unsigned long LastCluster)
{
unsigned long temp;
struct FAT32_FAT *pFAT;
struct FAT32_FAT_Item *pFAT_Item;
temp=((LastCluster/128)+Init_Arg.FirstFATSector);
FAT32_ReadSector(temp,FAT32_Buffer);
pFAT=(struct FAT32_FAT *)FAT32_Buffer;//什么意思
pFAT_Item=&((pFAT->Items)[LastCluster%128]);//什么意思
return lb2bb(pFAT_Item,4);
} |