Zephyr API Documentation 4.2.0-rc2
A Scalable Open Source RTOS
 4.2.0-rc2

ZMS Allocation Table Entry (ATE) structure. More...

#include </home/runner/work/zephyr/zephyr/zephyr/subsys/fs/zms/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...
      } 
   } 
}; 

Detailed Description

ZMS Allocation Table Entry (ATE) structure.

Field Documentation

◆ [union]

union { ... } zms_ate

◆ crc8

uint8_t zms_ate::crc8

crc8 check of the entry

◆ cycle_cnt

uint8_t zms_ate::cycle_cnt

cycle counter for non erasable devices

◆ data

uint8_t zms_ate::data[8]

data field used to store small sized data

◆ data_crc

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.

◆ id

uint32_t zms_ate::id

data id

◆ len

uint16_t zms_ate::len

data len within sector

◆ metadata

uint32_t zms_ate::metadata

Used to store metadata information such as storage version.

◆ offset

uint32_t zms_ate::offset

data offset within sector


The documentation for this struct was generated from the following file:
  • /home/runner/work/zephyr/zephyr/zephyr/subsys/fs/zms/zms_priv.h