Loading...
Searching...
No Matches

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.
 

Field Documentation

◆ base_addr

uint32_t spiffs_desc::base_addr

Base address of partition.

Definition at line 120 of file spiffs_fs.h.

◆ block_count

uint32_t spiffs_desc::block_count

Number of blocks in current partition, if 0, the mtd number of sector is used.

Definition at line 121 of file spiffs_fs.h.

◆ cache

uint8_t spiffs_desc::cache[SPIFFS_FS_CACHE_SIZE]

SPIFFS cache.

Definition at line 111 of file spiffs_fs.h.

◆ config

spiffs_config spiffs_desc::config

SPIFFS config, filled at mount time depending on the underlying mtdi_dev_t dev.

Definition at line 113 of file spiffs_fs.h.

◆ dev

mtd_dev_t* spiffs_desc::dev

The underlying mtd device, must be set by user.

Definition at line 117 of file spiffs_fs.h.

◆ fd_space

uint8_t spiffs_desc::fd_space[SPIFFS_FS_FD_SPACE_SIZE]

SPIFFS file descriptor cache.

Definition at line 109 of file spiffs_fs.h.

◆ fs

spiffs spiffs_desc::fs

The SPIFFS struct.

Definition at line 107 of file spiffs_fs.h.

◆ lock

mutex_t spiffs_desc::lock

A lock for SPIFFS internal use.

Definition at line 115 of file spiffs_fs.h.

◆ work

uint8_t spiffs_desc::work[SPIFFS_FS_WORK_SIZE]

SPIFFS work buffer.

Definition at line 108 of file spiffs_fs.h.


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