Memcpy_xx (), Memcpy_xi (), Memcpy_ix () – Maxim Integrated 73S12xxF Software User Manual
Page 64: E 64)

73S12xxF Software User Guide
UG_12xxF_016
64
Rev. 1.50
memcpy_xx ()
Purpose
Memory management – use to copy the contents of external RAM (XRAM)
location(s) to other XRAM location(s).
Synopsis
memcpy_xx (
Unsigned char xdata *dst,
Unsigned char xdata *src,
Unsigned integer len );
Parameters
dst: Input parameter
Destination: specifies starting address of XRAM to be written.
src: Input parameter
Use data at this XRAM address location as the source data.
len: Input parameter
Length (in bytes) of data to copy from source to destination.
Return Codes None.
memcpy_xi ()
Purpose
Memory management – use to copy the contents of internal RAM (IRAM) location(s)
to XRAM location(s).
Synopsis
memcpy_xi (
Unsigned char xdata *dst,
Unsigned char idata *src,
Unsigned char len );
Parameters
dst: Input parameter
Destination: specifies starting address of XRAM to be written.
src: Input parameter
Use data starting at this IRAM location as the source data.
len: Input parameter
Specifies the length (in bytes) to write to XRAM.
Return Codes None.
memcpy_ix ()
Purpose
Memory management – use to copy the contents of XRAM locations to IRAM
locations.
Synopsis
memcpy_ix (
Unsigned char idata *dst,
Unsigned char xdata *src,
Unsigned char len );
Parameters
dst: Input parameter
Destination: specifies starting address of IRAM to be written
src: Input parameter
Use data starting at this XRAM location as the source data.
len: Input parameter
Specifies the length (in bytes) to write to IRAM.
Return Codes None.