|
Contiki-NG
|
Device driver for the MX25R8035F 1Mbyte external memory.More...
#include "contiki.h"#include "ext-flash.h"#include "dev/xmem.h"#include "dev/watchdog.h"#include "cfs-coffee-arch.h"#include <stdio.h>Go to the source code of this file.
Functions | |
| void | xmem_init (void) |
| Initialize the external memory. | |
| int | xmem_pread (void *_p, int size, unsigned long addr) |
| Read a number of bytes from an offset in the external memory. More... | |
| int | xmem_pwrite (const void *_buf, int size, unsigned long addr) |
| int | xmem_erase (long size, unsigned long addr) |
| Erase a sector in the flash memory. More... | |
Device driver for the MX25R8035F 1Mbyte external memory.
Data is written bit inverted (~-operator) to flash so that unwritten data will read as zeros (UNIX style).
Definition in file xmem.c.
1.8.13