FatFS
f_sync()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (3/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
f_sync()
f_sync() function
Syntax
Show:
Summary
Declaration
Definition
from
ff.h:318
FRESULT
f_sync
(
FIL
*
fp
)
;
Implemented in
ff.c:4172
Arguments
Argument
fp
Related Functions
Found 14 other functions taking a
FIL
argument:
Function
f_lseek()
f_close()
f_open()
f_write()
f_read()
f_truncate()
f_expand()
f_write_zero_mem()
test_contiguous_file()
f_forward()
f_putc()
f_puts()
f_printf()
f_gets()
Examples
References
from
examples
Code
Location
Referrer
FRESULT
f_sync
(
ff.c:4172
FRESULT
f_sync
(
FIL
*
fp
)
;
/* Flush cached data of the writing file */
ff.h:318
res
=
f_sync
(
fp
)
;
/* Flush cached data */
ff.c:4261
f_close()
FRESULT
res
=
f_sync
(
file
)
;
vfs_fat.c:598
vfs_fat_fsync()
Call Tree
from
examples
f_sync()
is called by 2 functions and calls 9 functions:
f_close()
vfs_fat_fsync()
All items filtered out
f_sync()
ff_disk_write()
get_fattime()
validate()
move_window()
sync_fs()
st_word()
st_dword()
unlock_volume()
st_clust()
All items filtered out
Data Use
from
examples
f_sync()
reads 13 variables and writes 2 variables:
FFOBJID::objsize
FIL::obj
FIL::flag
FIL::sect
FIL::dir_sect
FIL::dir_ptr
FIL::buf
FRESULT::FR_OK
FRESULT::FR_DISK_ERR
FATFS::pdrv
FFOBJID::fs
FFOBJID::sclust
DRESULT::RES_OK
All items filtered out
f_sync()
FIL::flag
FATFS::wflag
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