AT45D DataFlash defines. More...
Go to the source code of this file.
Data Structures | |
struct | _AT45D_INFO |
AT45D DataFlash parameter structure. More... | |
Typedefs | |
typedef CONST struct _AT45D_INFO | AT45D_INFO |
AT45D DataFlash parameter structure type. | |
Variables | |
AT45D_INFO | at45d_info [] |
Table of known AT45D DataFlash chips. | |
uint_fast8_t | at45d_known_types |
Number of known AT45D DataFlash chips. | |
AT45D DataFlash Commands | |
#define | DFCMD_CONT_READ_LF 0x03 |
Continuos read (low frequency). | |
#define | DFCMD_CONT_READ_HF 0x0B |
Continuos read (high frequency). | |
#define | DFCMD_BLOCK_ERASE 0x50 |
Block erase. | |
#define | DFCMD_SECTOR_ERASE 0x7C |
Sector erase. | |
#define | DFCMD_PAGE_ERASE 0x81 |
Page erase. | |
#define | DFCMD_BUF1_PROG 0x82 |
Main memory page program through buffer 1. | |
#define | DFCMD_BUF1_FLASH 0x83 |
Buffer 1 flash with page erase. | |
#define | DFCMD_BUF1_WRITE 0x84 |
Buffer 1 write. | |
#define | DFCMD_BUF2_PROG 0x85 |
Main memory page program through buffer 2. | |
#define | DFCMD_BUF2_FLASH 0x86 |
Buffer 2 flash with page erase. | |
#define | DFCMD_BUF2_WRITE 0x87 |
Buffer 2 write. | |
#define | DFCMD_BUF1_FLASH_NE 0x88 |
Buffer 1 flash without page erase. | |
#define | DFCMD_BUF2_FLASH_NE 0x89 |
Buffer 2 flash without page erase. | |
#define | DFCMD_CHIP_ERASE 0xC7 |
Chip erase. | |
#define | DFCMD_BUF1_READ_LF 0xD1 |
Buffer 1 read (low frequency). | |
#define | DFCMD_READ_PAGE 0xD2 |
Read main memory page. | |
#define | DFCMD_BUF2_READ_LF 0xD3 |
Buffer 2 read (low frequency). | |
#define | DFCMD_BUF1_READ 0xD4 |
Buffer 1 read. | |
#define | DFCMD_BUF2_READ 0xD6 |
Buffer 2 read. | |
#define | DFCMD_READ_STATUS 0xD7 |
Read status register. | |
#define | DFCMD_CONT_READ 0xE8 |
Continuos read (legacy). | |
AT45D DataFlash Status Bits | |
#define | AT45D_STATUS_RDY 0x80 |
Ready (not busy) flag. | |
#define | AT45D_STATUS_COMP 0x40 |
Last compare result. | |
#define | AT45D_STATUS_DENSITY 0x3C |
Device type code. | |
#define | AT45D_STATUS_PROTECT 0x02 |
Sector protection flag. | |
#define | AT45D_STATUS_PAGE_SIZE 0x01 |
Set when binary page size is configured. |
AT45D DataFlash defines.
* $Id: at45d.h 3653 2011-11-14 15:20:31Z haraldkipp $ *
Definition in file at45d.h.
#define DFCMD_CONT_READ_LF 0x03 |
#define DFCMD_CONT_READ_HF 0x0B |
#define DFCMD_PAGE_ERASE 0x81 |
#define DFCMD_BUF1_PROG 0x82 |
#define DFCMD_BUF1_FLASH 0x83 |
Buffer 1 flash with page erase.
Definition at line 87 of file at45d.h.
Referenced by SpiAt45dPageWrite().
#define DFCMD_BUF1_WRITE 0x84 |
#define DFCMD_BUF2_PROG 0x85 |
#define DFCMD_BUF2_FLASH 0x86 |
#define DFCMD_BUF1_FLASH_NE 0x88 |
#define DFCMD_BUF2_FLASH_NE 0x89 |
#define DFCMD_BUF1_READ_LF 0xD1 |
#define DFCMD_READ_PAGE 0xD2 |
#define DFCMD_BUF2_READ_LF 0xD3 |
#define DFCMD_READ_STATUS 0xD7 |
#define DFCMD_CONT_READ 0xE8 |
Continuos read (legacy).
Reads a continous stream. Automatically switches to the the page and wraps to the first page after the last has been read. Note, that the data buffers are not used for this operation.
Definition at line 148 of file at45d.h.
Referenced by SpiAt45dPageRead().
#define AT45D_STATUS_DENSITY 0x3C |
Device type code.
Definition at line 161 of file at45d.h.
Referenced by At45dNodeProbe(), and SpiAt45dInit().
#define AT45D_STATUS_PAGE_SIZE 0x01 |
Set when binary page size is configured.
Definition at line 165 of file at45d.h.
Referenced by At45dNodeProbe(), and SpiAt45dInit().
typedef CONST struct _AT45D_INFO AT45D_INFO |