Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
Non-volatile Storage File system structure. More...
#include <nvs.h>
Data Fields | |
off_t | offset |
uint32_t | ate_wra |
uint32_t | data_wra |
uint16_t | sector_size |
uint16_t | sector_count |
bool | ready |
struct k_mutex | nvs_lock |
const struct device * | flash_device |
const struct flash_parameters * | flash_parameters |
Non-volatile Storage File system structure.
offset | File system offset in flash |
ate_wra | Allocation table entry write address. Addresses are stored as uint32_t: high 2 bytes correspond to the sector, low 2 bytes are the offset in the sector |
data_wra | Data write address |
sector_size | File system is split into sectors, each sector must be multiple of pagesize |
sector_count | Number of sectors in the file systems |
ready | Flag indicating if the filesystem is initialized |
nvs_lock | Mutex |
flash_device | Flash Device runtime structure |
flash_parameters | Flash memory parameters structure |
uint32_t nvs_fs::ate_wra |
uint32_t nvs_fs::data_wra |
const struct device* nvs_fs::flash_device |
const struct flash_parameters* nvs_fs::flash_parameters |
struct k_mutex nvs_fs::nvs_lock |
off_t nvs_fs::offset |
bool nvs_fs::ready |
uint16_t nvs_fs::sector_count |
uint16_t nvs_fs::sector_size |