163 #ifndef THIRD_PARTY_SPIFFS_SPIFFSNVS_H_ 164 #define THIRD_PARTY_SPIFFS_SPIFFSNVS_H_ 168 #include "spiffs_config.h" 172 #include <ti/drivers/dpl/MutexP.h> 189 #define SPIFFSNVS_STATUS_SUCCESS (0) 197 #define SPIFFSNVS_STATUS_ERROR (-1) 204 #define SPIFFSNVS_STATUS_INV_NVS_IDX (-2) 214 #define SPIFFSNVS_STATUS_INV_BLOCK_SIZE (-3) 224 #define SPIFFSNVS_STATUS_INV_PAGE_SIZE (-4) 304 u32_t logicalBlockSize, u32_t logicalPageSize);
uintptr_t keys[2]
Definition: SPIFFSNVS.h:235
struct SPIFFSNVS_Lock_ SPIFFSNVS_Lock
SPIFFSNVS Lock.
SPIFFSNVS Lock.
Definition: SPIFFSNVS.h:233
s32_t SPIFFSNVS_config(SPIFFSNVS_Data *spiffsnvsData, u32_t nvsIndex, spiffs *fs, spiffs_config *fsConfig, u32_t logicalBlockSize, u32_t logicalPageSize)
Initializes spiffs, spiffs_config and SPIFFSNVS_Data structures for SPIFFS to interface with the NVS ...
MutexP_Handle mutex
Definition: SPIFFSNVS.h:234
struct SPIFFSNVS_Data_ SPIFFSNVS_Data
SPIFFSNVS data object.
volatile u32_t count
Definition: SPIFFSNVS.h:236
Non-Volatile Storage driver interface.
SPIFFSNVS data object.
Definition: SPIFFSNVS.h:247
NVS Global configuration.
Definition: NVS.h:621
void SPIFFSNVS_close(SPIFFSNVS_Data *spiffsnvsData)
Closes the NVS flash region used for the file system.
SPIFFSNVS_Lock lock
Definition: SPIFFSNVS.h:249
NVS_Handle nvsHandle
Definition: SPIFFSNVS.h:248