ChibiOS/HAL  6.1.0
mfs_data_header_t Union Reference

Type of a data block header. More...

#include <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 215 of file mfs.h.

Field Documentation

uint32_t mfs_data_header_t::magic

Data header magic.

Definition at line 220 of file mfs.h.

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

uint16_t mfs_data_header_t::id

Data identifier.

Definition at line 224 of file mfs.h.

Referenced by mfs_bank_scan_records(), mfs_record_check(), mfsEraseRecord(), and mfsWriteRecord().

uint16_t mfs_data_header_t::crc

Data CRC.

Definition at line 228 of file mfs.h.

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

uint32_t mfs_data_header_t::size

Data size.

Definition at line 232 of file mfs.h.

Referenced by mfs_bank_scan_records(), mfs_record_check(), mfsEraseRecord(), and mfsWriteRecord().