Contiki-NG
Loading...
Searching...
No Matches

storage driver for the gecko. More...

#include "contiki.h"
#include "cfs/cfs-coffee.h"
#include "em_device.h"
#include "em_msc.h"
#include <stdint.h>

Go to the source code of this file.

Macros

Coffee port constants
Coffee port macros
#define COFFEE_ERASE(sector)
 Erase.
#define COFFEE_WRITE(buf, size, offset)
 Write.
#define COFFEE_READ(buf, size, offset)
 Read.

Typedefs

Coffee port types
typedef int16_t coffee_page_t
 Page.

Functions

void cfs_coffee_arch_erase (uint16_t sector)
 Erases a device sector.
void cfs_coffee_arch_write (const void *buf, unsigned int size, cfs_offset_t offset)
 Writes a buffer to the device.
void cfs_coffee_arch_read (void *buf, unsigned int size, cfs_offset_t offset)
 Reads from the device to a buffer.

Detailed Description

storage driver for the gecko.

Author
Yago Fontoura do Rosario yago..nosp@m.rosa.nosp@m.rio@h.nosp@m.otma.nosp@m.il.co.nosp@m.m.br

Definition in file cfs-coffee-arch.h.