ChibiOS/HAL  7.0.3
mfs_data_header_t Union Reference

Type of a data block header. More...

#include <hal_mfs.h>

Collaboration diagram for mfs_data_header_t:
Collaboration graph

Detailed Description

Type of a data block header.

This structure is placed before each written data block.

Definition at line 241 of file hal_mfs.h.

Field Documentation

uint32_t mfs_data_header_t::magic1

Data header magic 1.

Definition at line 246 of file hal_mfs.h.

Referenced by 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 mfsCommitTransaction(), mfsEraseRecord(), and mfsWriteRecord().

uint16_t mfs_data_header_t::id

Record identifier.

Definition at line 254 of file hal_mfs.h.

Referenced by mfsEraseRecord(), and mfsWriteRecord().

uint16_t mfs_data_header_t::crc

Data CRC.

Definition at line 258 of file hal_mfs.h.

Referenced by mfsEraseRecord(), mfsReadRecord(), and mfsWriteRecord().

uint32_t mfs_data_header_t::size

Data size.

Note
The next record is located at MFS_ALIGN_NEXT(size).

Definition at line 263 of file hal_mfs.h.

Referenced by mfsEraseRecord(), and mfsWriteRecord().