nvm.c File Reference

Non-Volatile Memory Wear-Leveling driver API implementation.

Version
5.6.0

License

(C) Copyright 2015 Silicon Labs, www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file nvm.c .

#include <stdbool.h>
#include <stddef.h>
#include " nvm.h "

Functions

Ecode_t NVM_Erase (uint32_t eraseCount)
Erase the entire allocated NVM area.
Ecode_t NVM_Init (NVM_Config_t const *config)
Initialize the NVM manager.
Ecode_t NVM_Read (uint16_t pageId, uint8_t objectId)
Read an object or an entire page.
Ecode_t NVM_Write (uint16_t pageId, uint8_t objectId)
Write an object or a page.