<< Previous | Next >>

sf_readRAM

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

Description

Read data from 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 character buffer to copy data into.

offset
Address in the serial flash RAM to start reading from

len
Number of bytes to read

Return Value

 0: Success
-1: Error

Library

SFLASH.LIB


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