Atmel AVR and AVR UC3 Sensor NVRAM Interfaces.
This module provides general access to the NVRAM interfaces in the Atmel Software Framework.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
#include <compiler.h>
Typedefs | |
typedef uint16_t | nvram_addr_t |
Data type for NVRAM memory addresses. More... | |
Functions | |
void | nvram_read (nvram_addr_t src, void *dst, size_t count) |
Read a buffer from non-volatile RAM. More... | |
void | nvram_write (nvram_addr_t dst, const void *src, size_t count) |
Atmel platform non-volatile memory spaces. More... | |
typedef uint16_t nvram_addr_t |
Data type for NVRAM memory addresses.
void nvram_read | ( | nvram_addr_t | src, |
void * | dst, | ||
size_t | count | ||
) |
Read a buffer from non-volatile RAM.
This routine reads count
Bytes from the NVRAM source pointed to by src
to the destination buffer pointed to by dst
.
src | the read source in the NVRAM address space |
dst | the destination buffer in program data memory space |
count | the number of Bytes to read |
References nvm_user_sig_read_buffer(), and nvm_wait_until_ready().
Referenced by ak8975_calibrate(), ak8975_init(), hmc5883l_calibrate(), hmc5883l_init(), sfh7770_calibrate(), and sfh7770_init().
void nvram_write | ( | nvram_addr_t | dst, |
const void * | src, | ||
size_t | count | ||
) |
Atmel platform non-volatile memory spaces.
Write a buffer to non-volatile RAM
This routine writes count
Bytes to the NVRAM destination pointed to by dst
from the source buffer pointed to by src
.
dst | the write destination in the NVRAM address space |
src | the source buffer in program data memory space |
count | the number of Bytes to write |
Atmel platform non-volatile memory spaces.
This routine writes count
Bytes to the NVRAM destination pointed to by dst
from the source buffer pointed to by src
.
dst | the write destination in the NVRAM address space |
src | the source buffer in program data memory space |
count | the number of Bytes to write |
References nvm_user_sig_write_buffer(), and nvm_wait_until_ready().
Referenced by ak8975_calibrate(), hmc5883l_calibrate(), sfh7770_calibrate(), and sfh7770_set_threshold().