Macros | |
#define | FDS_ENABLED |
Enabling FDS module. More... | |
#define | FDS_OP_QUEUE_SIZE |
Size of the internal queue. More... | |
#define | FDS_CHUNK_QUEUE_SIZE |
Determines how many fds_record_chunk_t structures can be buffered at any time. More... | |
#define | FDS_MAX_USERS |
Maximum number of callbacks that can be registered. More... | |
#define | FDS_VIRTUAL_PAGES |
Number of virtual flash pages to use. More... | |
#define | FDS_VIRTUAL_PAGE_SIZE |
The size of a virtual page of flash memory, expressed in number of 4-byte words. More... | |
#define FDS_CHUNK_QUEUE_SIZE |
Determines how many fds_record_chunk_t structures can be buffered at any time.
#define FDS_ENABLED |
Enabling FDS module.
Set to 1 to activate.
#define FDS_MAX_USERS |
Maximum number of callbacks that can be registered.
#define FDS_OP_QUEUE_SIZE |
Size of the internal queue.
#define FDS_VIRTUAL_PAGE_SIZE |
The size of a virtual page of flash memory, expressed in number of 4-byte words.
By default, a virtual page is the same size as a physical page. The size of a virtual page must be a multiple of the size of a physical page.
Following options are available:
#define FDS_VIRTUAL_PAGES |
Number of virtual flash pages to use.
One of the virtual pages is reserved by the system for garbage collection. Therefore, the minimum is two virtual pages: one page to store data and one page to be used by the system for garbage collection. The total amount of flash memory that is used by FDS amounts to FDS_VIRTUAL_PAGES FDS_VIRTUAL_PAGE_SIZE * 4 bytes.