* * $Log: at45db.h,v $ * Revision 1.2 2006/10/08 16:48:09 haraldkipp * Documentation fixed * * Revision 1.1 2006/09/29 12:41:55 haraldkipp * Added support for AT45 serial DataFlash memory chips. Currently limited * to AT91 builds. * * *
Functions | |
int | At45dbSendCmd (int dd, u_char op, u_long parm, int len, CONST void *tdata, void *rdata, int datalen) |
u_char | At45dbGetStatus (int dd) |
int | At45dbWaitReady (int dd, u_long tmo, int poll) |
Wait until flash memory cycle finished. | |
int | At45dbInit (u_int spibas, u_int spipcs) |
Initialize dataflash at specified interface and chip select. | |
int | At45dbPageErase (int dd, u_int off) |
Erase sector at the specified offset. | |
int | At45dbChipErase (void) |
Erase entire flash memory chip. | |
int | At45dbPageRead (int dd, u_long pgn, void *data, u_int len) |
Read data from flash memory. | |
int | At45dbPageWrite (int dd, u_int off, CONST void *data, u_int len) |
Write data into flash memory. | |
int | At45dbParamRead (u_int pos, void *data, u_int len) |
Load configuration parameters from flash memory. | |
int | At45dbParamWrite (u_int pos, CONST void *data, u_int len) |
Store configuration parameters in flash memory. |
|
Wait until flash memory cycle finished.
|
|
Read data from flash memory.
|
|
Write data into flash memory. The related sector must have been erased before calling this function.
|
|
Load configuration parameters from flash memory.
|
|
Store configuration parameters in flash memory.
|