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