Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
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 are sector, low 2 bytes are offset in sector, |
data_wra | Data write address. |
sector_size | File system is divided into sectors each sector should be multiple of pagesize |
sector_count | Amount of sectors in the file systems |
write_block_size | Alignment size |
nvs_lock | Mutex |
flash_device | Flash Device |
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 |