|
ChibiOS/HAL 9.0.0
|
Type of a data block header. More...
#include <hal_mfs.h>

Data Fields | |
| struct { | |
| uint32_t magic1 | |
| Data header magic 1. More... | |
| uint32_t magic2 | |
| Data header magic 2. More... | |
| uint16_t id | |
| Record identifier. More... | |
| uint16_t crc | |
| Data CRC. More... | |
| uint32_t size | |
| Data size. More... | |
| } | fields |
| uint8_t | hdr8 [16] |
| uint32_t | hdr32 [4] |
Type of a data block header.
This structure is placed before each written data block.
| uint32_t mfs_data_header_t::magic1 |
Data header magic 1.
Definition at line 246 of file hal_mfs.h.
Referenced by mfs_bank_scan_records(), mfsCommitTransaction(), mfsEraseRecord(), and mfsWriteRecord().
| uint32_t mfs_data_header_t::magic2 |
Data header magic 2.
Definition at line 250 of file hal_mfs.h.
Referenced by mfs_bank_scan_records(), mfsCommitTransaction(), mfsEraseRecord(), and mfsWriteRecord().
| uint16_t mfs_data_header_t::id |
Record identifier.
Definition at line 254 of file hal_mfs.h.
Referenced by mfs_bank_scan_records(), mfsEraseRecord(), and mfsWriteRecord().
| uint16_t mfs_data_header_t::crc |
Data CRC.
Definition at line 258 of file hal_mfs.h.
Referenced by mfs_bank_scan_records(), mfsEraseRecord(), mfsReadRecord(), and mfsWriteRecord().
| uint32_t mfs_data_header_t::size |
Data size.
MFS_ALIGN_NEXT(size). Definition at line 263 of file hal_mfs.h.
Referenced by mfs_bank_scan_records(), mfsEraseRecord(), and mfsWriteRecord().
| struct { ... } mfs_data_header_t::fields |
Referenced by mfs_bank_scan_records(), mfsCommitTransaction(), mfsEraseRecord(), mfsReadRecord(), and mfsWriteRecord().