TI-RTOS Drivers  tidrivers_cc13xx_cc26xx_2_20_00_08
Data Fields
NVS_Attrs Struct Reference

NVS attributes. More...

#include <NVS.h>

Data Fields

size_t pageSize
 
size_t blockSize
 

Detailed Description

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.

See also
NVS_getAttrs()

Field Documentation

size_t NVS_Attrs::pageSize
size_t NVS_Attrs::blockSize

Hardware page size


The documentation for this struct was generated from the following file:
Copyright 2016, Texas Instruments Incorporated