LoadDataF (Function) |
Top Previous Next |
LoadDataF will load a block of memory from a specific location in the persistent FRAM memory.
Input: index : INT (1..20 or 1..100) 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 LoadDataF : INT;
Example: INCLUDE rtcu.inc |