2 memcpy_xr(), 3 memcpy_xx(), Memcpy_xr() – Maxim Integrated 78M6612 M-API Library User Manual
Page 38: Memcpy_xx()

78M6612 M-API Library User Guide
UG_6612_036
38
Rev. 1.00
4.8.2 Memcpy_xr()
Purpose
Use to write to Flash the content data to a specific RAM location. An example use
of this API is as follows:
memcpy_xr (RAMData, ROMData, ROMSIZE);
Synopsis
Void memcpy_xr ( Unsigned char xdata *dst,
Unsigned char code *src,
Unsigned integer len );
Parameters
dst
Input parameter
Specifies starting RAM address to be written (destination).
src
Input parameter
Use contents at this ROM/Flash address location as the source data.
len
Input parameter
Length (in bytes) of data to write to RAM.
Return Codes
TRUE if the Write was successful.
FALSE if the Write was not completed.
4.8.3 Memcpy_xx()
Purpose
Use to copy data from an xdata location to another xdata location.
Synopsis
Void memcpy_xx ( Unsigned char xdata *dst,
Unsigned char xdata *src,
Unsigned integer len );
Parameters
dst
Input parameter
Specifies starting RAM address to be written (destination).
src
Input parameter
Use contents at this RAM address location as the source data.
len
Input parameter
Length (in bytes) of data to write to RAM.
Return Codes
None.