![]() |
EVE 1.0
|
|
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. | |
| #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) |
| typedef uint16_t nvram_addr_t |
| void nvram_write | ( | nvram_addr_t | addr, |
| const void * | buf, | ||
| uint16_t | size | ||
| ) |
Name: nvram_write
Writes a buffer into NVRAM.
| addr | The address in NVRAM to which the buffer should be written. |
| buf | A pointer to the buffer from which data is to be read. |
| size | The number of bytes to write into NVRAM. |
| void nvram_read | ( | nvram_addr_t | addr, |
| void * | buf, | ||
| uint16_t | size | ||
| ) |
Name: nvram_write
Reads data from the NVRAM.
| addr | The address in NVRAM from which the data should be read. |
| buf | A pointer to the buffer to which the data should be stored. |
| size | The number of bytes to read. |