Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
flash_area Struct Reference

Flash partition. More...

#include <flash_map.h>

Data Fields

uint8_t fa_id
 
uint8_t fa_device_id
 
uint16_t pad16
 
off_t fa_off
 
size_t fa_size
 
const char * fa_dev_name
 

Detailed Description

Flash partition.

This structure represents a fixed-size partition on a flash device. Each partition contains one or more flash sectors.

Field Documentation

◆ fa_dev_name

const char* flash_area::fa_dev_name

Name of the flash device, suitable for passing to device_get_binding().

◆ fa_device_id

uint8_t flash_area::fa_device_id

Provided for compatibility with MCUboot

◆ fa_id

uint8_t flash_area::fa_id

ID number

◆ fa_off

off_t flash_area::fa_off

Start offset from the beginning of the flash device

◆ fa_size

size_t flash_area::fa_size

Total size

◆ pad16

uint16_t flash_area::pad16

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