/home/mooz/bin/arduino-0009/lib/targets/libraries/at45db161d/at45db161d.h File Reference

AT45DB161D module. More...

#include <avr/pgmspace.h>
#include <inttypes.h>
#include "WConstants.h"
#include "at45db161d_commands.h"

Include dependency graph for at45db161d.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ATD45DB161D
 at45db161d module More...
struct  ATD45DB161D::ID
 ID structure This structure contains various informations about the dataflash chip being used. More...

Defines

#define DATAOUT   11
#define DATAIN   12
#define SPICLOCK   13
#define SLAVESELECT   10
#define RESET   8
#define WP   7
#define DF_CS_inactive   digitalWrite(SLAVESELECT,HIGH)
#define DF_CS_active   digitalWrite(SLAVESELECT,LOW)
#define READY_BUSY   0x80
#define COMPARE   0x40
#define PROTECT   0x02
#define PAGE_SIZE   0x01
#define DEVICE_DENSITY   0x2C

Functions

uint8_t spi_transfer (uint8_t data)
 Transfer a byte via spi.


Detailed Description

AT45DB161D module.

Definition in file at45db161d.h.


Generated on Sun Oct 21 18:24:47 2007 for at45db161d by  doxygen 1.5.2