nvm.c File Reference

Cortex-M3 Non-Volatile Memory data storage system. More...

#include "error.h"
#include "hal/micro/cortexm3/flash.h"
#include "hal/micro/cortexm3/nvm.h"

Go to the source code of this file.

Functions

int8u halCommonReadFromNvm (void *data, int32u offset, int16u length)
 Copy the NVM data from flash into the provided RAM location.
int16u * halCommonGetAddressFromNvm (int32u offset)
 Return the address of the token in NVM.
int8u halCommonWriteToNvm (const void *data, int32u offset, int16u length)
 Write the NVM data from the provided location RAM into flash.

Detailed Description

Cortex-M3 Non-Volatile Memory data storage system.

This file implements the NVM data storage system. Refer to nvm.h for full documentation of how the NVM data storage system works, is configured, and is accessed.

Definition in file nvm.c.


Generated on Mon Apr 11 14:23:49 2011 for Contiki 2.5 by  doxygen 1.6.1