Rtos API example

Embed: (wiki syntax)

« Back to documentation index

_SequentialFlashJournalLogTail Struct Reference

_SequentialFlashJournalLogTail Struct Reference

Meta-data placed at the tail of a sequential-log entry. More...

#include <flash_journal_private.h>

Data Fields

uint32_t sizeofBlob
 the size of the payload in this blob.
uint32_t crc32
 This field contains the CRC of the header, body (only including logged data), and the tail.

Detailed Description

Meta-data placed at the tail of a sequential-log entry.

Note:
the most crucial items (the ones which play a role in the validation of the log-entry) are placed at the end of this structure; this ensures that a partially written log-entry-tail won't be accepted as valid.

Definition at line 89 of file flash_journal_private.h.


Field Documentation

uint32_t crc32

This field contains the CRC of the header, body (only including logged data), and the tail.

The 'CRC32' field is assumed to hold 0x0 for the purpose of computing the CRC

Definition at line 93 of file flash_journal_private.h.

uint32_t sizeofBlob

the size of the payload in this blob.

Definition at line 90 of file flash_journal_private.h.