FatFS
FATFS::winsect
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (5/5)...
FatFS
ESP-IDF
lwIP
FreeRTOS
cJSON
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FATFS::winsect
FATFS::winsect field
Syntax
Show:
Summary
Declaration
from
ff.h:172
LBA_t
winsect
;
Examples
References
from
examples
Code
Location
Referrer
LBA_t
winsect
;
/* Current sector appearing in the win[] */
ff.h:172
if
(
disk_write
(
fs
->
pdrv
,
fs
->
win
,
fs
->
winsect
,
1
)
==
RES_OK
)
{
/* Write it back into the volume */
ff.c:1068
sync_window()
if
(
fs
->
winsect
-
fs
->
fatbase
<
fs
->
fsize
)
{
/* Is it in the 1st FAT? */
ff.c:1070
sync_window()
if
(
fs
->
n_fats
==
2
)
disk_write
(
fs
->
pdrv
,
fs
->
win
,
fs
->
winsect
+
fs
->
fsize
,
1
)
;
/* Reflect it to 2nd FAT if needed */
ff.c:1071
sync_window()
if
(
sect
!=
fs
->
winsect
)
{
/* Window offset changed? */
ff.c:1090
move_window()
fs
->
winsect
=
sect
;
ff.c:1099
move_window()
fs
->
winsect
=
fs
->
volbase
+
1
;
/* Write it into the FSInfo sector (Next to VBR) */
ff.c:1130
sync_fs()
disk_write
(
fs
->
pdrv
,
fs
->
win
,
fs
->
winsect
,
1
)
;
ff.c:1131
sync_fs()
fs
->
winsect
=
sect
;
/* Set window to top of the cluster */
ff.c:1675
dir_clear()
fs
->
wflag
=
0
;
fs
->
winsect
=
(
LBA_t
)
0
-
1
;
/* Invaidate window */
ff.c:3305
check_fs()
bsect
=
fs
->
winsect
;
/* Volume offset in the hosting physical drive */
ff.c:3453
mount_volume()
sc
=
fs
->
winsect
;
ff.c:3816
f_open()
fp
->
dir_sect
=
fs
->
winsect
;
/* Pointer to the directory entry */
ff.c:3839
f_open()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
FATFS::winsect
is written by 4 functions and is read by 5 functions:
move_window()
sync_fs()
dir_clear()
check_fs()
All items filtered out
FATFS::winsect
sync_window()
move_window()
sync_fs()
mount_volume()
f_open()
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