libxr
Embedded C++ framework for bare-metal, RTOS and Linux
Loading...
Searching...
No Matches
LibXR::FlashRegion Struct Reference

一段连续、大小相同的扇区 / A run of contiguous sectors of equal size More...

#include <flash.hpp>

Public Attributes

uint32_t address
 第一个扇区的地址 / Address of the first sector
 
uint32_t sector_size
 每个扇区的字节数 / Bytes per sector
 
uint32_t sector_count
 扇区个数 / Number of sectors
 

Detailed Description

一段连续、大小相同的扇区 / A run of contiguous sectors of equal size

Note
驱动的扇区表由若干段组成,按地址顺序列出整片 Flash。 A driver's sector table is made of such runs and lists the whole Flash in address order.

Definition at line 19 of file flash.hpp.

Member Data Documentation

◆ address

uint32_t LibXR::FlashRegion::address

第一个扇区的地址 / Address of the first sector

Definition at line 21 of file flash.hpp.

◆ sector_count

uint32_t LibXR::FlashRegion::sector_count

扇区个数 / Number of sectors

Definition at line 23 of file flash.hpp.

◆ sector_size

uint32_t LibXR::FlashRegion::sector_size

每个扇区的字节数 / Bytes per sector

Definition at line 22 of file flash.hpp.


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