nvm.c File Reference

Non-Volatile Memory Wear-Leveling driver API implementation.

License

Copyright 2018 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

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.