Appearance
struct flash_sector_layout_t
Describes one contiguous region of the flash with uniform sector size. More...
#include <flash.h>
Public Attributes
| Name | |
|---|---|
| uint32_t | nSectors Number of sectors in this region. |
| uint32_t | sectorSize Sector size in bytes (erase granularity for this region). |
Detailed Description
cpp
struct flash_sector_layout_t;Describes one contiguous region of the flash with uniform sector size.
Some devices have a non-uniform layout (e.g. small boot sectors followed by larger application sectors). Such layouts are reported as multiple entries in flash_info_t::sectorLayouts.
Public Attributes Documentation
variable nSectors
cpp
uint32_t flash_sector_layout_t::nSectorsNumber of sectors in this region.
variable sectorSize
cpp
uint32_t flash_sector_layout_t::sectorSizeSector size in bytes (erase granularity for this region).