<< Previous | Next >>

sf_writeRAM

int sf_writeRAM( char * buffer, int offset, int len );

Description

Write data to the RAM buffer on the serial flash chip.

NOTE This function blocks and only works on boards with one serial flash device.

Parameter

buffer
Pointer to data that will be written the flash chip RAM.

offset
Address in the serial flash RAM to start writing at.

len
Number of bytes to write.

Return Value

 0 for success
-1 for error

Library

SFLASH.LIB


Dynamic C Functions << Previous | Next >> rabbit.com