|
libxr
Embedded C++ framework for bare-metal, RTOS and Linux
|
Flash 存储的块信息结构 Structure representing a Flash storage block. More...
#include <layout.hpp>
Public Member Functions | |
| FlashInfo () | |
| 构造一个擦除态 FlashInfo 缓冲对象 Construct one erased-state FlashInfo buffer object. | |
Public Attributes | ||
| union { | ||
| uint32_t header | ||
| Flash 块头签名 / Flash block-header signature. More... | ||
| uint8_t padding [MinWriteSize] | ||
| }; | ||
| 让块前缀既能按签名读取,也能按最小写入单元整体写入 / Expose the block prefix both as a signature field and as one full minimum-write-unit write span | ||
| KeyInfo | key | |
Flash 存储的块信息结构 Structure representing a Flash storage block.
Definition at line 176 of file layout.hpp.
|
inline |
| uint32_t FlashInfo::header |
Flash 块头签名 / Flash block-header signature.
Definition at line 195 of file layout.hpp.
| KeyInfo FlashInfo::key |
紧跟在块头后的首个键头 / First key header stored right after the block header.
Definition at line 199 of file layout.hpp.
| uint8_t FlashInfo::padding[MinWriteSize] |
按最小写入单元对齐的原始块前缀 / Raw block prefix aligned to one minimum write unit.
Definition at line 196 of file layout.hpp.