#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. |
Definition in file at45db161d.h.