Contiki-NG
Loading...
Searching...
No Matches
xmem.h File Reference

Header file to the external flash memory (XMem) API. More...

Go to the source code of this file.

Functions

void xmem_init (void)
 Initialize the external memory.
 
int xmem_pread (void *buf, int nbytes, unsigned long offset)
 Read a number of bytes from an offset in the external memory.
 
int xmem_pwrite (const void *buf, int nbytes, unsigned long offset)
 
int xmem_erase (long nbytes, unsigned long offset)
 Erase a sector in the flash memory.
 

Detailed Description

Header file to the external flash memory (XMem) API.

Definition in file xmem.h.