<< Previous | Next >>

xmem2root

int xmem2root( void * dest, unsigned long int src,
unsigned int len );

Description

Stores len characters from physical address src to logical address dest.

Parameters

dest
Logical address

src
Physical address

len
Numbers of bytes

Return value

 0: Success.
-1: Attempt to write flash memory area, nothing written.
-2: Destination not all in root.

Library

XMEM.LIB

See also

root2xmem, xalloc


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