FatFS
ABORT
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
ABORT
ABORT macro
Syntax
Show:
Summary
Declaration
from
ff.c:237
#define
ABORT
(
fs
,
res
)
{
fp
->
err
=
(
BYTE
)
(
res
)
;
LEAVE_FF
(
fs
,
res
)
;
}
Arguments
Argument
fs
res
Examples
References
from
examples
Code
Location
#define
ABORT
(
fs
,
res
)
{
fp
->
err
=
(
BYTE
)
(
res
)
;
LEAVE_FF
(
fs
,
res
)
;
}
ff.c:237
if
(
clst
<
2
)
ABORT
(
fs
,
FR_INT_ERR
)
;
ff.c:3990
if
(
clst
==
0xFFFFFFFF
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:3991
if
(
sect
==
0
)
ABORT
(
fs
,
FR_INT_ERR
)
;
ff.c:3995
if
(
disk_read
(
fs
->
pdrv
,
rbuff
,
sect
,
cc
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4002
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4021
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
/* Fill sector cache */
ff.c:4025
if
(
clst
==
1
)
ABORT
(
fs
,
FR_INT_ERR
)
;
ff.c:4096
if
(
clst
==
0xFFFFFFFF
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4097
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4105
if
(
sect
==
0
)
ABORT
(
fs
,
FR_INT_ERR
)
;
ff.c:4110
if
(
disk_write
(
fs
->
pdrv
,
wbuff
,
sect
,
cc
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4117
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4143
if
(
clst
==
1
)
ABORT
(
fs
,
FR_INT_ERR
)
;
ff.c:4573
if
(
clst
==
0xFFFFFFFF
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4574
if
(
clst
==
0xFFFFFFFF
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4598
if
(
clst
<=
1
||
clst
>=
fs
->
n_fatent
)
ABORT
(
fs
,
FR_INT_ERR
)
;
ff.c:4599
if
(
nsect
==
0
)
ABORT
(
fs
,
FR_INT_ERR
)
;
ff.c:4605
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4618
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
nsect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
/* Fill sector cache */
ff.c:4622
if
(
res
!=
FR_OK
)
ABORT
(
fs
,
res
)
;
ff.c:4990
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