1 #ifndef NVRAM_H_INCLUDED 2 #define NVRAM_H_INCLUDED 48 #define NVRAM_SIZE (0x1000 - NVRAM_BLD_PEER_DATA_SIZE) 51 #define NVRAM_BLD_PEER_DATA_ADDR ((void *) (0x20000000 + NRF_FICR->INFO.RAM * 1024 - NVRAM_BLD_PEER_DATA_SIZE)) 54 #define NVRAM_BLD_PEER_DATA_SIZE (0x80)
void nvram_init(void)
Name: nvram_init Initialize the NVRAM module.
void nvram_write(nvram_addr_t addr, const void *buf, uint16_t size)
Name: nvram_write Writes a buffer into NVRAM.
void nvram_read(nvram_addr_t addr, void *buf, uint16_t size)
Name: nvram_write Reads data from the NVRAM.