FatFS
st_dword()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
st_dword()
st_dword() function
Syntax
Show:
Summary
Declaration
from
ff.c:666
static
void
st_dword
(
BYTE
*
ptr
,
DWORD
val
)
;
Arguments
Argument
ptr
val
Examples
References
from
examples
Code
Location
Referrer
static
void
st_dword
(
BYTE
*
ptr
,
DWORD
val
)
/* Store a 4-byte word in little-endian */
ff.c:666
st_dword
(
fs
->
win
+
FSI_LeadSig
,
0x41615252
)
;
/* Leading signature */
ff.c:1126
sync_fs()
st_dword
(
fs
->
win
+
FSI_StrucSig
,
0x61417272
)
;
/* Structure signature */
ff.c:1127
sync_fs()
st_dword
(
fs
->
win
+
FSI_Free_Count
,
fs
->
free_clst
)
;
/* Number of free clusters */
ff.c:1128
sync_fs()
st_dword
(
fs
->
win
+
FSI_Nxt_Free
,
fs
->
last_clst
)
;
/* Last allocated culuster */
ff.c:1129
sync_fs()
st_dword
(
fs
->
win
+
clst
*
4
%
SS
(
fs
)
,
val
)
;
ff.c:1287
put_fat()
st_dword
(
dj
.
dir
+
DIR_CrtTime
,
tm
)
;
ff.c:3808
f_open()
st_dword
(
dj
.
dir
+
DIR_ModTime
,
tm
)
;
ff.c:3809
f_open()
st_dword
(
dj
.
dir
+
DIR_FileSize
,
0
)
;
ff.c:3813
f_open()
st_dword
(
dir
+
DIR_FileSize
,
(
DWORD
)
fp
->
obj
.
objsize
)
;
/* Update file size */
ff.c:4230
f_sync()
st_dword
(
dir
+
DIR_ModTime
,
tm
)
;
/* Update modified time */
ff.c:4231
f_sync()
st_dword
(
fs
->
win
+
DIR_ModTime
,
tm
)
;
ff.c:5133
f_mkdir()
st_dword
(
dj
.
dir
+
DIR_ModTime
,
tm
)
;
/* Created time */
ff.c:5156
f_mkdir()
st_dword
(
dj
.
dir
+
DIR_ModTime
,
(
DWORD
)
fno
->
fdate
<
<
16
|
fno
->
ftime
)
;
ff.c:5363
f_utime()
st_dword
(
pte
+
PTE_StLba
,
nxt_alloc32
)
;
/* Start LBA */
ff.c:5893
create_partition()
st_dword
(
pte
+
PTE_SizLba
,
sz_part32
)
;
/* Number of sectors */
ff.c:5894
create_partition()
st_dword
(
buf
+
BPB_TotSec32
,
(
DWORD
)
sz_vol
)
;
/* Volume size in 32-bit LBA */
ff.c:6320
f_mkfs()
st_dword
(
buf
+
BPB_HiddSec
,
(
DWORD
)
b_vol
)
;
/* Volume offset in the physical drive [sector] */
ff.c:6325
f_mkfs()
st_dword
(
buf
+
BS_VolID32
,
vsn
)
;
/* VSN */
ff.c:6327
f_mkfs()
st_dword
(
buf
+
BPB_FATSz32
,
sz_fat
)
;
/* FAT size [sector] */
ff.c:6328
f_mkfs()
st_dword
(
buf
+
BPB_RootClus32
,
2
)
;
/* Root directory cluster # (2) */
ff.c:6329
f_mkfs()
st_dword
(
buf
+
BS_VolID
,
vsn
)
;
/* VSN */
ff.c:6336
f_mkfs()
st_dword
(
buf
+
FSI_LeadSig
,
0x41615252
)
;
ff.c:6349
f_mkfs()
st_dword
(
buf
+
FSI_StrucSig
,
0x61417272
)
;
ff.c:6350
f_mkfs()
st_dword
(
buf
+
FSI_Free_Count
,
n_clst
-
1
)
;
/* Number of free clusters */
ff.c:6351
f_mkfs()
st_dword
(
buf
+
FSI_Nxt_Free
,
2
)
;
/* Last allocated cluster# */
ff.c:6352
f_mkfs()
st_dword
(
buf
+
0
,
0xFFFFFFF8
)
;
/* FAT[0] */
ff.c:6363
f_mkfs()
st_dword
(
buf
+
4
,
0xFFFFFFFF
)
;
/* FAT[1] */
ff.c:6364
f_mkfs()
st_dword
(
buf
+
8
,
0x0FFFFFFF
)
;
/* FAT[2] (root directory) */
ff.c:6365
f_mkfs()
st_dword
(
buf
+
0
,
(
fsty
==
FS_FAT12
)
?
0xFFFFF8
:
0xFFFFFFF8
)
;
/* FAT[0] and FAT[1] */
ff.c:6367
f_mkfs()
Call Tree
from
examples
st_dword()
is called by 8 functions:
sync_fs()
put_fat()
f_open()
f_sync()
f_mkdir()
f_utime()
create_partition()
f_mkfs()
All items filtered out
st_dword()
All items filtered out
Data Use
from
examples
st_dword()
:
All items filtered out
st_dword()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out