|
Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
ZMS Allocation Table Entry (ATE) structure. More...
#include <zms_priv.h>
Data Fields | ||
| uint8_t | crc8 | |
| crc8 check of the entry | ||
| uint8_t | cycle_cnt | |
| cycle counter for non erasable devices | ||
| uint16_t | len | |
| data len within sector | ||
| uint32_t | id | |
| data id | ||
| union { | ||
| uint8_t data [8] | ||
| data field used to store small sized data More... | ||
| struct { | ||
| uint32_t offset | ||
| data offset within sector More... | ||
| union { | ||
| uint32_t data_crc | ||
| crc for data: The data CRC is checked only when the whole data of the element is read. More... | ||
| uint32_t metadata | ||
| Used to store metadata information such as storage version. More... | ||
| } | ||
| } | ||
| }; | ||
ZMS Allocation Table Entry (ATE) structure.
CONFIG_ZMS_ID_64BIT.
| union { ... } zms_ate |
| uint8_t zms_ate::crc8 |
crc8 check of the entry
| uint8_t zms_ate::cycle_cnt |
cycle counter for non erasable devices
| uint8_t zms_ate::data[8] |
data field used to store small sized data
| uint32_t zms_ate::data_crc |
crc for data: The data CRC is checked only when the whole data of the element is read.
The data CRC is not checked for a partial read, as it is computed for the complete set of data.
| uint32_t zms_ate::id |
data id
| uint16_t zms_ate::len |
data len within sector
| uint32_t zms_ate::metadata |
Used to store metadata information such as storage version.
| uint32_t zms_ate::offset |
data offset within sector