FatFs
DIR_Attr
is only used within FatFs.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
FatFs
DIR_Attr
DIR_Attr macro
Syntax
from
ff.c:394
#define
DIR_Attr
11
References
Location
Text
ff.c:394
#define
DIR_Attr
11
/* Attribute (BYTE) */
ff.c:2167
dp
->
obj
.
attr
=
a
=
dp
->
dir
[
DIR_Attr
]
&
AM_MASK
;
/* Get attribute */
ff.c:2253
dp
->
obj
.
attr
=
a
=
dp
->
dir
[
DIR_Attr
]
&
AM_MASK
;
ff.c:2274
dp
->
obj
.
attr
=
dp
->
dir
[
DIR_Attr
]
&
AM_MASK
;
ff.c:2275
if
(
!
(
dp
->
dir
[
DIR_Attr
]
&
AM_VOL
)
&&
!
mem_cmp
(
dp
->
dir
,
dp
->
fn
,
11
)
)
break
;
/* Is it a valid entry? */
ff.c:2530
fno
->
fattrib
=
dp
->
dir
[
DIR_Attr
]
;
/* Attribute */
ff.c:3394
dj
.
dir
[
DIR_Attr
]
=
AM_ARC
;
/* Reset attribute */
ff.c:3788
dir
[
DIR_Attr
]
|=
AM_ARC
;
/* Set archive bit */
ff.c:4659
dir
[
DIR_Attr
]
=
AM_DIR
;
ff.c:4694
dir
[
DIR_Attr
]
=
AM_DIR
;
/* Attribute */
ff.c:4769
mem_cpy
(
buf
,
djo
.
dir
+
DIR_Attr
,
21
)
;
/* Save information about the object except name */
ff.c:4780
dir
[
DIR_Attr
]
=
buf
[
0
]
|
AM_ARC
;
ff.c:4782
if
(
(
dir
[
DIR_Attr
]
&
AM_DIR
)
&&
djo
.
obj
.
sclust
!=
djn
.
obj
.
sclust
)
{
/* Update .. entry in the sub-directory if needed */