FatFs
ld_dword()
is only used within FatFs.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
FatFs
ld_dword()
ld_dword() function
Syntax
from
ff.c:622
static
DWORD
ld_dword
(
const
BYTE
*
ptr
)
;
Arguments
ptr
References
Location
Referrer
Text
ff.c:623
DWORD
ld_dword
(
const
BYTE
*
ptr
)
/* Load a 4-byte little-endian word */
ff.c:1034
get_fat()
val
=
ld_dword
(
fs
->
win
+
clst
*
4
%
SS
(
fs
)
)
&
0x0FFFFFFF
;
ff.c:1121
put_fat()
val
=
(
val
&
0x0FFFFFFF
)
|
(
ld_dword
(
fs
->
win
+
clst
*
4
%
SS
(
fs
)
)
&
0xF0000000
)
;
ff.c:2531
get_fileinfo()
fno
->
fsize
=
ld_dword
(
dp
->
dir
+
DIR_FileSize
)
;
/* Size */
ff.c:2532
get_fileinfo()
tm
=
ld_dword
(
dp
->
dir
+
DIR_ModTime
)
;
/* Timestamp */
ff.c:2976
check_fs()
if
(
(
ld_dword
(
fs
->
win
+
BS_FilSysType
)
&
0xFFFFFF
)
==
0x544146
)
return
0
;
/* Check "FAT" string */
ff.c:2977
check_fs()
if
(
ld_dword
(
fs
->
win
+
BS_FilSysType32
)
==
0x33544146
)
return
0
;
/* Check "FAT3" string */
ff.c:3054
find_volume()
br
[
i
]
=
pt
[
PTE_System
]
?
ld_dword
(
pt
+
PTE_StLba
)
:
0
;
ff.c:3119
find_volume()
if
(
fasize
==
0
)
fasize
=
ld_dword
(
fs
->
win
+
BPB_FATSz32
)
;
ff.c:3133
find_volume()
if
(
tsect
==
0
)
tsect
=
ld_dword
(
fs
->
win
+
BPB_TotSec32
)
;
ff.c:3155
find_volume()
fs
->
dirbase
=
ld_dword
(
fs
->
win
+
BPB_RootClus32
)
;
/* Root directory start cluster */
ff.c:3176
find_volume()
&&
ld_dword
(
fs
->
win
+
FSI_LeadSig
)
==
0x41615252
ff.c:3177
find_volume()
&&
ld_dword
(
fs
->
win
+
FSI_StrucSig
)
==
0x61417272
)
ff.c:3180
find_volume()
fs
->
free_clst
=
ld_dword
(
fs
->
win
+
FSI_Free_Count
)
;
ff.c:3183
find_volume()
fs
->
last_clst
=
ld_dword
(
fs
->
win
+
FSI_Nxt_Free
)
;
ff.c:3457
f_open()
fp
->
obj
.
objsize
=
ld_dword
(
dj
.
dir
+
DIR_FileSize
)
;
ff.c:4453
f_getfree()
if
(
(
ld_dword
(
p
)
&
0x0FFFFFFF
)
==
0
)
nfree
++
;
ff.c:5360
f_mkfs()
b_vol
=
ld_dword
(
pte
+
PTE_StLba
)
;
/* Get volume start sector */
ff.c:5361
f_mkfs()
sz_vol
=
ld_dword
(
pte
+
PTE_SizLba
)
;
/* Get volume size */
Call Tree
Functions calling
ld_dword()
get_fat()
put_fat()
get_fileinfo()
check_fs()
find_volume()
f_open()
f_getfree()
f_mkfs()
all items filtered out
ld_dword()
Data read by
ld_dword()
Data written by
ld_dword()
ld_dword()::ptr
ld_dword()::rv
all items filtered out
ld_dword()
ld_dword()::rv
all items filtered out
Type of
ld_dword()
ld_dword()
DWORD
all items filtered out