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

Structure for transfer flash sector boundaries. More...

#include <flash_map.h>

Data Fields

ptrdiff_t fs_off
 Sector offset from the beginning of the flash device.
size_t fs_size
 Sector size in bytes.

Detailed Description

Structure for transfer flash sector boundaries.

This template is used for presentation of flash memory structure. It consumes much less RAM than flash_area.

This uses ptrdiff_t for fs_off and size_t for fs_size, which limits flash devices to no larger than the address space of the target as a way to constrain the size of this struct.

Field Documentation

◆ fs_off

ptrdiff_t flash_sector::fs_off

Sector offset from the beginning of the flash device.

◆ fs_size

size_t flash_sector::fs_size

Sector size in bytes.


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