littlefs descriptor for vfs integration More...
littlefs descriptor for vfs integration
Definition at line 76 of file littlefs_fs.h.
#include <littlefs_fs.h>
Data Fields | |
lfs_t | fs |
littlefs descriptor | |
struct lfs_config | config |
littlefs config | |
mtd_dev_t * | dev |
mtd device to use | |
mutex_t | lock |
mutex | |
uint32_t | base_addr |
first block number to use, total number of block is defined in config . | |
uint8_t | file_buf [LITTLEFS_FILE_BUFFER_SIZE] |
file buffer to use internally if LITTLEFS_FILE_BUFFER_SIZE is set | |
uint8_t | read_buf [LITTLEFS_READ_BUFFER_SIZE] |
read buffer to use internally if LITTLEFS_READ_BUFFER_SIZE is set | |
uint8_t | prog_buf [LITTLEFS_PROG_BUFFER_SIZE] |
prog buffer to use internally if LITTLEFS_PROG_BUFFER_SIZE is set | |
uint8_t | lookahead_buf [LITTLEFS_LOOKAHEAD_SIZE/8] |
lookahead buffer to use internally | |
uint16_t | sectors_per_block |
number of sectors per block | |
uint32_t littlefs_desc_t::base_addr |
first block number to use, total number of block is defined in config
.
if set to 0, the total number of sectors from the mtd is used
Definition at line 84 of file littlefs_fs.h.
struct lfs_config littlefs_desc_t::config |
littlefs config
Definition at line 78 of file littlefs_fs.h.
mtd_dev_t* littlefs_desc_t::dev |
mtd device to use
Definition at line 79 of file littlefs_fs.h.
uint8_t littlefs_desc_t::file_buf[LITTLEFS_FILE_BUFFER_SIZE] |
file buffer to use internally if LITTLEFS_FILE_BUFFER_SIZE is set
Definition at line 87 of file littlefs_fs.h.
lfs_t littlefs_desc_t::fs |
littlefs descriptor
Definition at line 77 of file littlefs_fs.h.
mutex_t littlefs_desc_t::lock |
mutex
Definition at line 80 of file littlefs_fs.h.
uint8_t littlefs_desc_t::lookahead_buf[LITTLEFS_LOOKAHEAD_SIZE/8] |
lookahead buffer to use internally
Definition at line 98 of file littlefs_fs.h.
uint8_t littlefs_desc_t::prog_buf[LITTLEFS_PROG_BUFFER_SIZE] |
prog buffer to use internally if LITTLEFS_PROG_BUFFER_SIZE is set
Definition at line 95 of file littlefs_fs.h.
uint8_t littlefs_desc_t::read_buf[LITTLEFS_READ_BUFFER_SIZE] |
read buffer to use internally if LITTLEFS_READ_BUFFER_SIZE is set
Definition at line 91 of file littlefs_fs.h.
uint16_t littlefs_desc_t::sectors_per_block |
number of sectors per block
Definition at line 99 of file littlefs_fs.h.