This header contains defines with respect persistent storage that are specific to persistent storage implementation and application use case.
#define PSTORAGE_CMD_QUEUE_SIZE 30 |
Maximum number of flash access commands that can be maintained by the module for all applications. Configurable.
End address for persistent data, configurable according to system requirements.
#define PSTORAGE_DATA_START_ADDR |
Value:Start address for persistent data, configurable according to system requirements.
#define PSTORAGE_FLASH_EMPTY_MASK 0xFFFFFFFF |
Bit mask that defines an empty address in flash.
#define PSTORAGE_FLASH_PAGE_END |
#define PSTORAGE_FLASH_PAGE_SIZE ((uint16_t)NRF_FICR->CODEPAGESIZE) |
#define PSTORAGE_MAX_APPLICATIONS 2 |
Maximum number of applications that can be registered with the module, configurable based on system requirements.
Maximum size of block that can be registered with the module. Should be configured based on system requirements. And should be greater than or equal to the minimum size.
#define PSTORAGE_MIN_BLOCK_SIZE 0x0010 |
Minimum size of block that can be registered with the module. Should be configured based on system requirements, recommendation is not have this value to be at least size of word.
Top-most page is used as swap area for clear and update.
Abstracts persistently memory block identifier.