Rtos API example
_FlashJournal_Info Struct Reference
Flash Journal information. More...
#include <flash_journal.h>
Data Fields | |
uint64_t | capacity |
Maximum capacity (in octets) of the flash journal--i.e. the largest 'blob' which can be contained as payload. | |
uint64_t | sizeofJournaledBlob |
size (in octets) of the most recently logged blob. | |
uint32_t | program_unit |
Minimum programming size (in units of octets) for the current storage block--the one which will be used for the next log() operation. |
Detailed Description
Flash Journal information.
This contains journal-metadata, and is the return value from calling GetInfo() on the journal driver.
Definition at line 70 of file flash_journal.h.
Field Documentation
uint64_t capacity |
Maximum capacity (in octets) of the flash journal--i.e. the largest 'blob' which can be contained as payload.
Definition at line 71 of file flash_journal.h.
uint32_t program_unit |
Minimum programming size (in units of octets) for the current storage block--the one which will be used for the next log() operation.
This value may change as we cycle through the blocks of the underlying MTD. Callers of FlashJournal_log() should refer to this field upon receiving the error JOURNAL_STATUS_SMALL_LOG_REQUEST (of when the actual amount of data logged is smaller than the requested amount).
Definition at line 73 of file flash_journal.h.
uint64_t sizeofJournaledBlob |
size (in octets) of the most recently logged blob.
Definition at line 72 of file flash_journal.h.
Generated on Sun Jul 17 2022 08:25:39 by 1.7.2