EVE 1.0
nvram.h File Reference

Driver of the nRF52 non-volatile RAM. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NVRAM_SIZE   (0x1000 - NVRAM_BLD_PEER_DATA_SIZE)
 
#define NVRAM_BLD_PEER_DATA_ADDR   ((void *) (0x20000000 + NRF_FICR->INFO.RAM * 1024 - NVRAM_BLD_PEER_DATA_SIZE))
 
#define NVRAM_BLD_PEER_DATA_SIZE   (0x80)
 

Typedefs

typedef uint16_t nvram_addr_t
 

Functions

void nvram_write (nvram_addr_t addr, const void *buf, uint16_t size)
 Name: nvram_write
Writes a buffer into NVRAM. More...
 
void nvram_read (nvram_addr_t addr, void *buf, uint16_t size)
 Name: nvram_write
Reads data from the NVRAM. More...
 
void nvram_init (void)
 Name: nvram_init
Initialize the NVRAM module.
 

Detailed Description

Driver of the nRF52 non-volatile RAM.

Author
DT, Jetro AS

Definition in file nvram.h.