nvm_config.c File Reference

NVM config implementation. More...

#include <stddef.h>
#include "nvm.h"
#include "nvm_config.h"
#include <stdint.h>
#include <stdbool.h>
#include "ecode.h"
Include dependency graph for nvm_config.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NVM_Config_t const * NVM_ConfigGet (void)
 Return a pointer to the config data.

Variables

static const uint8_t nvmData [FLASH_PAGE_SIZE *(1+(sizeof(nvmPages)/sizeof(NVM_Page_Descriptor_t)))] = { 0xFF }
 Set storage size and location.
static NVM_Config_t const nvmConfig
 Top-level configuration data.

Detailed Description

NVM config implementation.

Version:
4.0.0

License

(C) Copyright 2014 Silicon Labs, http://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_config.c.


Variable Documentation

NVM_Config_t const nvmConfig [static]
Initial value:
{
  &nvmPages,            
   ( 1  +  (sizeof(nvmPages) / sizeof(NVM_Page_Descriptor_t)) ) ,      
   (sizeof(nvmPages) / sizeof(NVM_Page_Descriptor_t)) , 
  nvmData               
}

Top-level configuration data.

Definition at line 162 of file nvm_config.c.

const uint8_t nvmData[FLASH_PAGE_SIZE *(1+(sizeof(nvmPages)/sizeof(NVM_Page_Descriptor_t)))] = { 0xFF } [static]

Set storage size and location.

Definition at line 158 of file nvm_config.c.