littlefs sample
lfs_config
is only used within littlefs sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
littlefs sample
lfs_config
lfs_config struct
Syntax
Show:
Summary
Declaration
from
lfs.h:157
struct
lfs_config
{
void
*
context
;
int
(
*
read
)
(
const
struct
lfs_config
*
c
,
lfs_block_t
block
,
lfs_off_t
off
,
void
*
buffer
,
lfs_size_t
size
)
;
int
(
*
prog
)
(
const
struct
lfs_config
*
c
,
lfs_block_t
block
,
lfs_off_t
off
,
const
void
*
buffer
,
lfs_size_t
size
)
;
int
(
*
erase
)
(
const
struct
lfs_config
*
c
,
lfs_block_t
block
)
;
int
(
*
sync
)
(
const
struct
lfs_config
*
c
)
;
#ifdef
LFS_THREADSAFE
int
(
*
lock
)
(
const
struct
lfs_config
*
c
)
;
int
(
*
unlock
)
(
const
struct
lfs_config
*
c
)
;
#endif
lfs_size_t
read_size
;
lfs_size_t
prog_size
;
lfs_size_t
block_size
;
lfs_size_t
block_count
;
int32_t
block_cycles
;
lfs_size_t
cache_size
;
lfs_size_t
lookahead_size
;
lfs_size_t
compact_thresh
;
void
*
read_buffer
;
void
*
prog_buffer
;
void
*
lookahead_buffer
;
lfs_size_t
name_max
;
lfs_size_t
file_max
;
lfs_size_t
attr_max
;
lfs_size_t
metadata_max
;
lfs_size_t
inline_max
;
#ifdef
LFS_MULTIVERSION
uint32_t
disk_version
;
#endif
}
;
Fields
Field
Declared as
lfs_config::erase
int
(
*
)
(
const
struct
lfs_config
*
c
,
lfs_block_t
block
)
lfs_config::sync
int
(
*
)
(
const
struct
lfs_config
*
c
)
lfs_config::read_size
lfs_size_t
lfs_config::prog_size
lfs_size_t
lfs_config::block_size
lfs_size_t
lfs_config::block_count
lfs_size_t
lfs_config::block_cycles
int32_t
lfs_config::cache_size
lfs_size_t
lfs_config::lookahead_size
lfs_size_t
lfs_config::compact_thresh
lfs_size_t
lfs_config::read_buffer
void
*
lfs_config::prog_buffer
void
*
lfs_config::lookahead_buffer
void
*
lfs_config::name_max
lfs_size_t
lfs_config::file_max
lfs_size_t
lfs_config::attr_max
lfs_size_t
lfs_config::metadata_max
lfs_size_t
lfs_config::inline_max
lfs_size_t
lfs_config::context
void
*
lfs_config::read
int
(
*
)
(
const
struct
lfs_config
*
c
,
lfs_block_t
block
,
lfs_off_t
off
,
void
*
buffer
,
lfs_size_t
size
)
lfs_config::prog
int
(
*
)
(
const
struct
lfs_config
*
c
,
lfs_block_t
block
,
lfs_off_t
off
,
const
void
*
buffer
,
lfs_size_t
size
)
Examples
References
from
examples
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