Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Data Structures

struct  fcb_entry
 FCB entry info structure. 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   (0x3fffu)
 Max length of element (16,383)
 
#define FCB_ENTRY_FA_DATA_OFF(entry)
 Helper macro for calculating the data offset related to the fcb flash_area start offset.
 
#define FCB_FLAGS_CRC_DISABLED   BIT(0)
 Flag to disable CRC for the fcb_entries in flash.
 

Detailed Description

Macro Definition Documentation

◆ FCB_ENTRY_FA_DATA_OFF

#define FCB_ENTRY_FA_DATA_OFF (   entry)

#include <include/zephyr/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_FLAGS_CRC_DISABLED

#define FCB_FLAGS_CRC_DISABLED   BIT(0)

#include <include/zephyr/fs/fcb.h>

Flag to disable CRC for the fcb_entries in flash.

◆ FCB_MAX_LEN

#define FCB_MAX_LEN   (0x3fffu)

#include <include/zephyr/fs/fcb.h>

Max length of element (16,383)