This contains everything needed to run an instance of SPIFFS. More...

Detailed Description

This contains everything needed to run an instance of SPIFFS.

Definition at line 106 of file spiffs_fs.h.

#include <spiffs_fs.h>

Data Fields

spiffs fs
 The SPIFFS struct.
 
uint8_t work [SPIFFS_FS_WORK_SIZE]
 SPIFFS work buffer.
 
uint8_t fd_space [SPIFFS_FS_FD_SPACE_SIZE]
 SPIFFS file descriptor cache.
 
uint8_t cache [SPIFFS_FS_CACHE_SIZE]
 SPIFFS cache.
 
spiffs_config config
 SPIFFS config, filled at mount time depending on the underlying mtdi_dev_t dev.
 
mutex_t lock
 A lock for SPIFFS internal use.
 
mtd_dev_tdev
 The underlying mtd device, must be set by user.
 
uint32_t base_addr
 Base address of partition.
 
uint32_t block_count
 Number of blocks in current partition, if 0, the mtd number of sector is used.
 

The documentation for this struct was generated from the following file: