finslib_memory_area_transfer( sys, source, dest, num_words );
||A pointer to a structure with the FINS context|
||ASCII representation of the source starting memory area address|
||ASCII representation of the destination starting memory area address|
||The number of words to transfer|
||A return value from the list
finslib_memory_area_transfer() can be used to transfer a block of data between two memory areas. The source and destination memory areas may be different which makes it possible to copy blocks of data from for example the
WR area to the
DM area. If a number of words of 0 is used, the function will return with a success code but there will be no data transfered.
Writing to the or counter areas causes the completion flags of the affected timers and counters to be turned off. Note that this function can be called when the CPU is in running mode and that the system may be negatively effected by the memory transfer. The calling party should make sure that the memory transfer will not interfere with a running process or that the CPU is in stop mode, before
finslib_memory_area_transfer() is called.
FINS_RETVAL...– Libfins function return code list
FINS_DATA_TYPE...– Libfins data types