FatFS
FF_DIR::sect
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FF_DIR::sect
FF_DIR::sect field
Syntax
Show:
Summary
Declaration
from
ff.h:238
LBA_t
sect
;
Examples
References
from
examples
Code
Location
Referrer
LBA_t
sect
;
/* Current sector (0:Read operation has terminated) */
ff.h:238
dp
->
sect
=
fs
->
dirbase
;
ff.c:1723
dir_sdi()
dp
->
sect
=
clst2sect
(
fs
,
clst
)
;
ff.c:1733
dir_sdi()
if
(
dp
->
sect
==
0
)
return
FR_INT_ERR
;
ff.c:1736
dir_sdi()
dp
->
sect
+=
ofs
/
SS
(
fs
)
;
/* Sector# of the directory entry */
ff.c:1737
dir_sdi()
if
(
ofs
>=
(
DWORD
)
(
(
FF_FS_EXFAT
&&
fs
->
fs_type
==
FS_EXFAT
)
?
MAX_DIR_EX
:
MAX_DIR
)
)
dp
->
sect
=
0
;
/* Disable it if the offset reached the max value */
ff.c:1760
dir_next()
if
(
dp
->
sect
==
0
)
return
FR_NO_FILE
;
/* Report EOT if it has been disabled */
ff.c:1761
dir_next()
dp
->
sect
++
;
/* Next sector */
ff.c:1764
dir_next()
dp
->
sect
=
0
;
return
FR_NO_FILE
;
ff.c:1768
dir_next()
dp
->
sect
=
0
;
return
FR_NO_FILE
;
ff.c:1779
dir_next()
dp
->
sect
=
clst2sect
(
fs
,
clst
)
;
ff.c:1793
dir_next()
res
=
move_window
(
fs
,
dp
->
sect
)
;
ff.c:1825
dir_alloc()
while
(
dp
->
sect
)
{
ff.c:2323
dir_read()
res
=
move_window
(
fs
,
dp
->
sect
)
;
ff.c:2324
dir_read()
if
(
res
!=
FR_OK
)
dp
->
sect
=
0
;
/* Terminate the read operation on error or EOT */
ff.c:2377
dir_read()
res
=
move_window
(
fs
,
dp
->
sect
)
;
ff.c:2427
dir_find()
res
=
move_window
(
fs
,
dp
->
sect
)
;
ff.c:2537
dir_register()
res
=
move_window
(
fs
,
dp
->
sect
)
;
ff.c:2553
dir_register()
res
=
move_window
(
fs
,
dp
->
sect
)
;
ff.c:2588
dir_remove()
res
=
move_window
(
fs
,
dp
->
sect
)
;
ff.c:2603
dir_remove()
if
(
dp
->
sect
==
0
)
return
;
/* Exit if read pointer has reached end of directory */
ff.c:2639
get_fileinfo()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
FF_DIR::sect
is written by 3 functions and is read by 8 functions:
dir_sdi()
dir_next()
dir_read()
All items filtered out
FF_DIR::sect
dir_sdi()
dir_next()
dir_alloc()
dir_read()
dir_find()
dir_register()
dir_remove()
get_fileinfo()
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