Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
Flash Circular Buffer Data Structures

Data Structures

struct  fcb_entry
 FCB entry info structure. This data structure describes the element location in the flash. More...
 
struct  fcb_entry_ctx
 Structure for transferring complete information about FCB entry location within flash memory. More...
 
struct  fcb
 FCB instance structure. More...
 

Macros

#define FCB_MAX_LEN   (CHAR_MAX | CHAR_MAX << 7)
 
#define FCB_ENTRY_FA_DATA_OFF(entry)
 Helper macro for calculating the data offset related to the fcb flash_area start offset. More...
 

Detailed Description

Macro Definition Documentation

◆ FCB_ENTRY_FA_DATA_OFF

#define FCB_ENTRY_FA_DATA_OFF (   entry)

#include <include/fs/fcb.h>

Value:
(entry.fe_sector->fs_off +\
entry.fe_data_off)

Helper macro for calculating the data offset related to the fcb flash_area start offset.

Parameters
entryfcb entry structure

◆ FCB_MAX_LEN

#define FCB_MAX_LEN   (CHAR_MAX | CHAR_MAX << 7)

#include <include/fs/fcb.h>

Max length of element