Added function to retrieve the list of available NVM areas

This commit is contained in:
Silvano Seva 2023-11-21 14:08:29 +01:00
parent faffbfb930
commit d9b22c1d2d
1 changed files with 8 additions and 0 deletions

View File

@ -158,6 +158,14 @@ void nvm_init();
*/
void nvm_terminate();
/**
* Get a list of the available nonvolatile memory areas of the device.
*
* @param list: pointer where to store the pointer to the list head.
* @return number of elements in the list.
*/
size_t nvm_getMemoryAreas(const struct nvmArea **list);
/**
* Load calibration data from nonvolatile memory.
*