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