LoadData (Function) |
Top Previous Next |
LoadData will load a block of memory from a specific location in the persistent FLASH memory.
Input: index : INT (1..192) Location number the data should be loaded from.
data : ADR Address of the memory block that receives the loaded data.
datasize : INT (1..255) Maximum size to load into "ptr".
Returns: INT The actual length loaded from the specified index (this will be 0 if there is no valid data at the index - i.e. a string is stored at this position).
Declaration: FUNCTION LoadData : INT;
Example: INCLUDE rtcu.inc |