fatfs/src/ff.c
static DWORD ld_clust (	/* Returns the top cluster value of the SFN entry */
	FATFS* fs,			/* Pointer to the fs object */
	const BYTE* dir		/* Pointer to the key entry */
)
{
	DWORD cl;

	cl = ld_word(dir + DIR_FstClusLO);
	if (fs->fs_type == FS_FAT32) {
		cl |= (DWORD)ld_word(dir + DIR_FstClusHI) << 16;
	}

	return cl;
}
/*-----------------------------------------------------------------------*/
/* FAT: Directory handling - Load/Store start cluster number             */
/*-----------------------------------------------------------------------*/
Directory handling - Load/Store start cluster number
Directory handling - Load / Store start cluster number
static DWORD ld_clust (	
	FATFS* fs,			
	const BYTE* dir		
)
{
	DWORD cl;
	cl = ld_word(dir + DIR_FstClusLO);
	if (fs->fs_type == FS_FAT32) {
		cl |= (DWORD)ld_word(dir + DIR_FstClusHI) << 16;
	}
	return cl;
}
static DWORD ld_clust ( FATFS * fs , const BYTE * dir ) { DWORD cl ; cl = ld_word ( dir + DIR_FstClusLO ) ; if ( fs -> fs_type == FS_FAT32 ) { cl |= ( DWORD ) ld_word ( dir + DIR_FstClusHI ) << 16 ; } return cl ; }
FAT: Directory handling - Load/Store start cluster number
FAT : Directory handling - Load / Store start cluster number
/* Returns the top cluster value of the SFN entry */ /* Pointer to the fs object */ /* Pointer to the key entry */