FatFS
f_open()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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_open()
f_open() function
Syntax
Show:
Summary
Declaration
Definition
from
ff.h:312
FRESULT
f_open
(
FIL
*
fp
,
const
TCHAR
*
path
,
BYTE
mode
)
;
Implemented in
ff.c:3730
Arguments
Argument
fp
path
mode
Related Functions
Found 14 other functions taking a
FIL
argument:
Function
f_lseek()
f_close()
f_write()
f_read()
f_truncate()
f_sync()
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_open
(
ff.c:3730
FRESULT
f_open
(
FIL
*
fp
,
const
TCHAR
*
path
,
BYTE
mode
)
;
/* Open or create a file */
ff.h:312
FRESULT
res
=
f_open
(
&
fat_ctx
->
files
[
fd
]
,
path
,
fat_mode_conv
(
flags
)
)
;
vfs_fat.c:384
vfs_fat_open()
res
=
f_open
(
pf1
,
n1
,
FA_READ
|
FA_OPEN_EXISTING
)
;
vfs_fat.c:808
vfs_fat_link()
res
=
f_open
(
pf2
,
n2
,
FA_WRITE
|
FA_CREATE_NEW
)
;
vfs_fat.c:814
vfs_fat_link()
res
=
f_open
(
file
,
path
,
FA_WRITE
)
;
vfs_fat.c:1151
vfs_fat_truncate()
FRESULT
res
=
f_open
(
file
,
file_path
,
FA_WRITE
|
FA_OPEN_ALWAYS
)
;
vfs_fat.c:1415
esp_vfs_fat_create_contiguous_file()
FRESULT
res
=
f_open
(
file
,
file_path
,
FA_WRITE
|
FA_OPEN_ALWAYS
)
;
vfs_fat.c:1501
esp_vfs_fat_test_contiguous_file()
Call Tree
from
examples
f_open()
is called by 5 functions and calls 16 functions:
vfs_fat_open()
vfs_fat_link()
vfs_fat_truncate()
esp_vfs_fat_create_contiguous_file()
esp_vfs_fat_test_contiguous_file()
All items filtered out
f_open()
ff_disk_read()
get_fattime()
mount_volume()
clst2sect()
get_fat()
move_window()
ld_dword()
st_dword()
unlock_volume()
remove_chain()
ld_clust()
st_clust()
dir_register()
follow_path()
ff_memalloc()
ff_memfree()
All items filtered out
Data Use
from
examples
f_open()
reads 24 variables and writes 14 variables:
FFOBJID::objsize
FIL::obj
FIL::sect
FIL::buf
FF_DIR::obj
FF_DIR::dir
FF_DIR::fn
FRESULT::FR_OK
FRESULT::FR_DISK_ERR
FRESULT::FR_INT_ERR
FRESULT::FR_NO_FILE
FRESULT::FR_INVALID_NAME
FRESULT::FR_DENIED
FRESULT::FR_EXIST
FRESULT::FR_INVALID_OBJECT
FATFS::pdrv
FATFS::id
FATFS::csize
FATFS::ssize
FATFS::winsect
FFOBJID::attr
FFOBJID::sclust
DRESULT::RES_OK
FRESULT::FR_NOT_ENOUGH_CORE
All items filtered out
f_open()
FFOBJID::objsize
FIL::flag
FIL::err
FIL::fptr
FIL::clust
FIL::sect
FIL::dir_sect
FIL::dir_ptr
FATFS::wflag
FATFS::last_clst
FFOBJID::fs
FFOBJID::id
FFOBJID::sclust
FATFS::lfnbuf
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