Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

FCB entry info structure. More...

#include <fcb.h>

Data Fields

struct flash_sectorfe_sector
 Pointer to info about sector where data are placed.
 
uint32_t fe_elem_off
 Offset from the start of the sector to beginning of element.
 
uint32_t fe_data_off
 Offset from the start of the sector to the start of element.
 
uint16_t fe_data_len
 Size of data area in fcb entry.
 

Detailed Description

FCB entry info structure.

This data structure describes the element location in the flash.

You would use it to figure out what parameters to pass to flash_area_read() to read element contents. Or to flash_area_write() when adding a new element. Entry location is pointer to area (within fcb->f_sectors), and offset within that area.

Field Documentation

◆ fe_data_len

uint16_t fcb_entry::fe_data_len

Size of data area in fcb entry.

◆ fe_data_off

uint32_t fcb_entry::fe_data_off

Offset from the start of the sector to the start of element.

◆ fe_elem_off

uint32_t fcb_entry::fe_elem_off

Offset from the start of the sector to beginning of element.

◆ fe_sector

struct flash_sector* fcb_entry::fe_sector

Pointer to info about sector where data are placed.


The documentation for this struct was generated from the following file: