SaveData (Function) |
Top Previous Next |
SaveData will save a block of memory to a specific location in the persistent FLASH memory.
Note: there is a limited number of writes to the Flash Memory that make use of this function. Please read the Persistent Memory introductory section.
Input: index : INT (1..192) Location number the block of memory should be saved in.
data : ADR Address of the memory block that should be saved.
datasize : INT (1..255) Maximum size to save.
Returns: INT (Only reported from firmware version 5.00 / R1.30.00)
Declaration: FUNCTION SaveData;
Example: INCLUDE rtcu.inc |