Atmel Software Framework

util/nvram.h File Reference
#include <stdint.h>

Functions

int nvram_init (void)
 
int nvram_read (uint32_t addr, void *data, uint32_t len)
 Read any number bytes into any offset of nor flash. More...
 
int nvram_write (uint32_t addr, const void *data, uint32_t len)
 Write any number bytes into any offset of nor flash. More...
 

int nvram_init ( void  )

Referenced by main().

int nvram_read ( uint32_t  addr,
void *  data,
uint32_t  len 
)

Read any number bytes into any offset of nor flash.

Referenced by ak8975_calibrate(), ak8975_init(), hmc5883l_calibrate(), hmc5883l_init(), main(), sfh7770_calibrate(), and sfh7770_init().

int nvram_write ( uint32_t  addr,
const void *  data,
uint32_t  len 
)

Write any number bytes into any offset of nor flash.

Referenced by ak8975_calibrate(), hmc5883l_calibrate(), main(), sfh7770_calibrate(), and sfh7770_set_threshold().