Nut/OS  4.10.3
API Reference
spi_at45dib.c File Reference

Low memory routines for Atmel AT45 serial DataFlash memory chips. More...

#include <cfg/memory.h>
#include <sys/nutdebug.h>
#include <dev/at45d.h>
#include <stdlib.h>
#include <dev/spi_at45dib.h>
Include dependency graph for spi_at45dib.c:

Go to the source code of this file.

Data Structures

struct  _AT45DIB
 Internal information structure. More...

Defines

#define DFCMD_BUF1_LOAD_PAGE   0x53
#define DFCMD_BUF2_LOAD_PAGE   0x55
#define AT45DIB_FDIRTY   0x0001
 RAM buffer dirty flag.
#define SPI_RATE_AT45D0   33000000
#define SPI_MODE_AT45D0   SPI_MODE_3
#define MOUNT_OFFSET_AT45DIB0   0
#define MOUNT_TOP_RESERVE_AT45DIB0   1
#define SPI_RATE_AT45D1   33000000
#define SPI_MODE_AT45D1   SPI_MODE_3
#define MOUNT_OFFSET_AT45DIB1   0
#define MOUNT_TOP_RESERVE_AT45DIB1   1

Typedefs

typedef struct _AT45DIB AT45DIB
 Internal information structure.

Variables

NUTSERIALFLASH flashAt45dib0
 First AT45D DataFlash interface implementation structure.
NUTSERIALFLASH flashAt45dib1
 Second AT45D DataFlash interface implementation structure.

Detailed Description

Low memory routines for Atmel AT45 serial DataFlash memory chips.

 * $Id$
 * 

Definition in file spi_at45dib.c.


Define Documentation

#define DFCMD_BUF1_LOAD_PAGE   0x53

Definition at line 49 of file spi_at45dib.c.

#define DFCMD_BUF2_LOAD_PAGE   0x55

Definition at line 52 of file spi_at45dib.c.