TI-RTOS Drivers
tidrivers_cc32xx_2_16_00_08
|
NVS attributes. More...
#include <NVS.h>
Data Fields | |
size_t | pageSize |
size_t | blockSize |
NVS attributes.
The address of an NVS_Attrs structure can be passed to NVS_getAttrs() to fill in the fields.
pageSize is the size of the smallest erase page. This is hardware specific. For example, all TM4C123x devices use 1KB pages, but TM4C129x devices use 16KB pages. Please consult the device datasheet to determine the pageSize to use.
blockSize is the actual size of the NVS storage block that the application chooses to manage. If pageSize is greater than blockSize, care should be taken not to use the storage on the page that is outside of the block, since it may be erased when writing to the block. The block size must not be greater than the page size.
size_t NVS_Attrs::pageSize |
size_t NVS_Attrs::blockSize |
Hardware page size