ld_dword() is only used within FatFs.
 
Symbols
loading...
Files
loading...

ld_dword() function

Syntax

static DWORD ld_dword (const BYTE* ptr);

Arguments

ptr

References

LocationReferrerText
ff.c:623
DWORD ld_dword (const BYTE* ptr) /* Load a 4-byte little-endian word */
ff.c:1034get_fat()
val = ld_dword(fs->win + clst * 4 % SS(fs)) & 0x0FFFFFFF;
ff.c:1121put_fat()
val = (val & 0x0FFFFFFF) | (ld_dword(fs->win + clst * 4 % SS(fs)) & 0xF0000000);
ff.c:2531get_fileinfo()
fno->fsize = ld_dword(dp->dir + DIR_FileSize); /* Size */
ff.c:2532get_fileinfo()
tm = ld_dword(dp->dir + DIR_ModTime); /* Timestamp */
ff.c:2976check_fs()
if ((ld_dword(fs->win + BS_FilSysType) & 0xFFFFFF) == 0x544146) return 0; /* Check "FAT" string */
ff.c:2977check_fs()
if (ld_dword(fs->win + BS_FilSysType32) == 0x33544146) return 0; /* Check "FAT3" string */
ff.c:3054find_volume()
br[i] = pt[PTE_System] ? ld_dword(pt + PTE_StLba) : 0;
ff.c:3119find_volume()
if (fasize == 0) fasize = ld_dword(fs->win + BPB_FATSz32);
ff.c:3133find_volume()
if (tsect == 0) tsect = ld_dword(fs->win + BPB_TotSec32);
ff.c:3155find_volume()
fs->dirbase = ld_dword(fs->win + BPB_RootClus32); /* Root directory start cluster */
ff.c:3176find_volume()
&& ld_dword(fs->win + FSI_LeadSig) == 0x41615252
ff.c:3177find_volume()
&& ld_dword(fs->win + FSI_StrucSig) == 0x61417272)
ff.c:3180find_volume()
fs->free_clst = ld_dword(fs->win + FSI_Free_Count);
ff.c:3183find_volume()
fs->last_clst = ld_dword(fs->win + FSI_Nxt_Free);
ff.c:3457f_open()
fp->obj.objsize = ld_dword(dj.dir + DIR_FileSize);
ff.c:4453f_getfree()
if ((ld_dword(p) & 0x0FFFFFFF) == 0) nfree++;
ff.c:5360f_mkfs()
b_vol = ld_dword(pte + PTE_StLba); /* Get volume start sector */
ff.c:5361f_mkfs()
sz_vol = ld_dword(pte + PTE_SizLba); /* Get volume size */

Call Tree

Functions calling ld_dword()
ld_dword()
Data read by ld_dword()
Data written by ld_dword()
ld_dword()::rv
all items filtered out
ld_dword()
ld_dword()::rv
all items filtered out
Type of ld_dword()
ld_dword()
all items filtered out