Contiki 2.6

xmem.c File Reference

Device driver for the ST M25P80 40MHz 1Mbyte external memory. More...

#include "contiki.h"
#include <stdio.h>
#include <string.h>
#include "dev/spi.h"
#include "dev/xmem.h"
#include "dev/watchdog.h"

Go to the source code of this file.


Detailed Description

Device driver for the ST M25P80 40MHz 1Mbyte external memory.

Author:
Björn Grönvall <bg@sics.se>

Data is written bit inverted (~-operator) to flash so that unwritten data will read as zeros (UNIX style).

Definition in file xmem.c.