ChibiOS  21.6.0
mfs_bank_header_t Union Reference

Type of a bank header. More...

#include <hal_mfs.h>

Collaboration diagram for mfs_bank_header_t:
Collaboration graph

Detailed Description

Type of a bank header.

Note
The header resides in the first 16 bytes of a bank.

Definition at line 208 of file hal_mfs.h.

Field Documentation

◆ magic1

uint32_t mfs_bank_header_t::magic1

Bank magic 1.

Definition at line 213 of file hal_mfs.h.

◆ magic2

uint32_t mfs_bank_header_t::magic2

Bank magic 2.

Definition at line 217 of file hal_mfs.h.

◆ counter

uint32_t mfs_bank_header_t::counter

Usage counter of the bank.

This value is increased each time a bank swap is performed. It indicates how much wearing the flash has already endured.

Definition at line 223 of file hal_mfs.h.

◆ reserved1

uint16_t mfs_bank_header_t::reserved1

Reserved field.

Definition at line 227 of file hal_mfs.h.

◆ crc

uint16_t mfs_bank_header_t::crc

Header CRC.

Definition at line 231 of file hal_mfs.h.