FatFS
FA_WRITE
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FA_WRITE
FA_WRITE macro
Syntax
Show:
Summary
Declaration
from
ff.h:402
#define
FA_WRITE
0x02
Examples
References
from
examples
Code
Location
#define
FA_WRITE
0x02
ff.h:402
mode
&=
FF_FS_READONLY
?
FA_READ
:
FA_READ
|
FA_WRITE
|
FA_CREATE_ALWAYS
|
FA_CREATE_NEW
|
FA_OPEN_ALWAYS
|
FA_OPEN_APPEND
;
ff.c:3750
if
(
(
mode
&
FA_WRITE
)
&&
(
dj
.
obj
.
attr
&
AM_RDO
)
)
{
/* Write mode open against R/O file */
ff.c:3831
if
(
!
(
fp
->
flag
&
FA_WRITE
)
)
LEAVE_FF
(
fs
,
FR_DENIED
)
;
/* Check access mode */
ff.c:4069
if
(
ofs
>
fp
->
obj
.
objsize
&&
(
FF_FS_READONLY
||
!
(
fp
->
flag
&
FA_WRITE
)
)
)
{
/* In read-only mode, clip offset with the file size */
ff.c:4556
if
(
fp
->
flag
&
FA_WRITE
)
{
/* Check if in write mode or not */
ff.c:4584
if
(
!
(
fp
->
flag
&
FA_WRITE
)
)
LEAVE_FF
(
fs
,
FR_DENIED
)
;
/* Check access mode */
ff.c:4964
res
=
mount_volume
(
&
path
,
&
fs
,
FA_WRITE
)
;
ff.c:5018
res
=
mount_volume
(
&
path
,
&
fs
,
FA_WRITE
)
;
/* Get logical drive */
ff.c:5109
res
=
mount_volume
(
&
path_old
,
&
fs
,
FA_WRITE
)
;
/* Get logical drive of the old object */
ff.c:5195
res
=
mount_volume
(
&
path
,
&
fs
,
FA_WRITE
)
;
/* Get logical drive */
ff.c:5303
res
=
mount_volume
(
&
path
,
&
fs
,
FA_WRITE
)
;
/* Get logical drive */
ff.c:5349
if
(
fsz
==
0
||
fp
->
obj
.
objsize
!=
0
||
!
(
fp
->
flag
&
FA_WRITE
)
)
LEAVE_FF
(
fs
,
FR_DENIED
)
;
ff.c:5619
res
|=
FA_WRITE
;
vfs_fat.c:302
res
|=
FA_READ
|
FA_WRITE
;
vfs_fat.c:304
res
=
f_open
(
pf2
,
n2
,
FA_WRITE
|
FA_CREATE_NEW
)
;
vfs_fat.c:814
res
=
f_open
(
file
,
path
,
FA_WRITE
)
;
vfs_fat.c:1151
FRESULT
res
=
f_open
(
file
,
file_path
,
FA_WRITE
|
FA_OPEN_ALWAYS
)
;
vfs_fat.c:1415
FRESULT
res
=
f_open
(
file
,
file_path
,
FA_WRITE
|
FA_OPEN_ALWAYS
)
;
vfs_fat.c:1501
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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