FatFS
ff_disk_read()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
ff_disk_read()
ff_disk_read() function
Syntax
Show:
Summary
Declaration
Definition
from
diskio.h:33
DRESULT
disk_read
(
BYTE
pdrv
,
BYTE
*
buff
,
LBA_t
sector
,
UINT
count
)
;
Implemented in
diskio.c:94
Arguments
Argument
pdrv
buff
sector
count
Examples
References
from
examples
Code
Location
Referrer
DRESULT
ff_disk_read
(
BYTE
pdrv
,
BYTE
*
buff
,
LBA_t
sector
,
UINT
count
)
diskio.c:94
DRESULT
disk_read
(
BYTE
pdrv
,
BYTE
*
buff
,
LBA_t
sector
,
UINT
count
)
;
diskio.h:33
if
(
disk_read
(
fs
->
pdrv
,
fs
->
win
,
sect
,
1
)
!=
RES_OK
)
{
ff.c:1095
move_window()
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
res
=
FR_DISK_ERR
;
ff.c:3913
f_open()
if
(
disk_read
(
fs
->
pdrv
,
rbuff
,
sect
,
cc
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4002
f_read()
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
/* Fill sector cache */
ff.c:4025
f_read()
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
sect
,
1
)
!=
RES_OK
)
{
ff.c:4142
f_write()
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
nsect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
/* Fill sector cache */
ff.c:4622
f_lseek()
if
(
disk_read
(
pdrv
,
buf
,
0
,
1
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
/* Load MBR */
ff.c:5991
f_mkfs()
if
(
disk_read
(
pdrv
,
buf
,
0
,
1
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
/* Read the MBR */
ff.c:6406
f_mkfs()
Call Tree
from
examples
ff_disk_read()
is called by 6 functions and calls 1 function:
move_window()
f_open()
f_read()
f_write()
f_lseek()
f_mkfs()
All items filtered out
ff_disk_read()
ff_diskio_impl_t::read
All items filtered out
Data Use
from
examples
ff_disk_read()
reads 1 variable:
s_impls
All items filtered out
ff_disk_read()
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