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