Sector header, located at sector start.
#include <pds_nvm.h>
Data Fields | |
uint32_t | number |
uint8_t | signature [6] |
uint8_t | status |
uint32_t sector_header::number |
Sector signature, to prevent occasional sector recognition as active.
Referenced by pds_compact_sector(), pds_delete_all(), and pds_init().
uint8_t sector_header::signature[6] |
Referenced by pds_delete_all(), and pds_init().
uint8_t sector_header::status |
< status flag. Active sector has it set to zero. Number of the sector. Sector with largest number is used.
Referenced by pds_compact_sector(), pds_delete_all(), and pds_init().