<< Previous | Next >> | |
|
int sf_writePage( sf_device * dev, int bank, long page );
Description
- Replaces
sf_RAMToPage()
.
- Command the serial flash to write its RAM buffer contents to one of its flash memory pages. Check for completion of the write operation using
sf_isWriting()
.Parameters
- dev
- Pointer to
sf_device
struct for initialized flash device.
- bank
- Which RAM bank to write the data from. For Atmel 45DBxxx devices, this can be 1 or 2
- page
- The page to write the RAM buffer to
Return Value
- 0: Success
-1: ErrorLibrary
- SFLASH.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |