FatFS
st_word()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
st_word()
st_word() function
Syntax
Show:
Summary
Declaration
from
ff.c:660
static
void
st_word
(
BYTE
*
ptr
,
WORD
val
)
;
Arguments
Argument
ptr
val
Examples
References
from
examples
Code
Location
Referrer
static
void
st_word
(
BYTE
*
ptr
,
WORD
val
)
/* Store a 2-byte word in little-endian */
ff.c:660
st_word
(
fs
->
win
+
BS_55AA
,
0xAA55
)
;
/* Boot signature */
ff.c:1125
sync_fs()
st_word
(
fs
->
win
+
clst
*
2
%
SS
(
fs
)
,
(
WORD
)
val
)
;
/* Simple WORD array */
ff.c:1274
put_fat()
st_word
(
dir
+
DIR_FstClusLO
,
(
WORD
)
cl
)
;
ff.c:1876
st_clust()
st_word
(
dir
+
DIR_FstClusHI
,
(
WORD
)
(
cl
>
>
16
)
)
;
ff.c:1878
st_clust()
st_word
(
dir
+
LDIR_FstClusLO
,
0
)
;
ff.c:1978
put_lfn()
st_word
(
dir
+
LfnOfs
[
s
]
,
wc
)
;
/* Put it */
ff.c:1984
put_lfn()
st_word
(
dir
+
DIR_LstAccDate
,
0
)
;
ff.c:4232
f_sync()
st_word
(
buf
+
BS_55AA
,
0xAA55
)
;
/* MBR signature */
ff.c:5914
create_partition()
st_word
(
buf
+
BPB_BytsPerSec
,
ss
)
;
/* Sector size [byte] */
ff.c:6312
f_mkfs()
st_word
(
buf
+
BPB_RsvdSecCnt
,
(
WORD
)
sz_rsv
)
;
/* Size of reserved area */
ff.c:6314
f_mkfs()
st_word
(
buf
+
BPB_RootEntCnt
,
(
WORD
)
(
(
fsty
==
FS_FAT32
)
?
0
:
n_root
)
)
;
/* Number of root directory entries */
ff.c:6316
f_mkfs()
st_word
(
buf
+
BPB_TotSec16
,
(
WORD
)
sz_vol
)
;
/* Volume size in 16-bit LBA */
ff.c:6318
f_mkfs()
st_word
(
buf
+
BPB_SecPerTrk
,
63
)
;
/* Number of sectors per track (for int13) */
ff.c:6323
f_mkfs()
st_word
(
buf
+
BPB_NumHeads
,
255
)
;
/* Number of heads (for int13) */
ff.c:6324
f_mkfs()
st_word
(
buf
+
BPB_FSInfo32
,
1
)
;
/* Offset of FSINFO sector (VBR + 1) */
ff.c:6330
f_mkfs()
st_word
(
buf
+
BPB_BkBootSec32
,
6
)
;
/* Offset of backup VBR (VBR + 6) */
ff.c:6331
f_mkfs()
st_word
(
buf
+
BPB_FATSz16
,
(
WORD
)
sz_fat
)
;
/* FAT size [sector] */
ff.c:6337
f_mkfs()
st_word
(
buf
+
BS_55AA
,
0xAA55
)
;
/* Signature (offset is fixed here regardless of sector size) */
ff.c:6342
f_mkfs()
st_word
(
buf
+
BS_55AA
,
0xAA55
)
;
ff.c:6353
f_mkfs()
Call Tree
from
examples
st_word()
is called by 7 functions:
sync_fs()
put_fat()
st_clust()
put_lfn()
f_sync()
create_partition()
f_mkfs()
All items filtered out
st_word()
All items filtered out
Data Use
from
examples
st_word()
:
All items filtered out
st_word()
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