Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
FCB entry info structure. More...
#include <fcb.h>
Data Fields | |
struct flash_sector * | fe_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. | |
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.
uint16_t fcb_entry::fe_data_len |
Size of data area in fcb entry.
uint32_t fcb_entry::fe_data_off |
Offset from the start of the sector to the start of element.
uint32_t fcb_entry::fe_elem_off |
Offset from the start of the sector to beginning of element.
struct flash_sector* fcb_entry::fe_sector |
Pointer to info about sector where data are placed.