@CHIP-RTOS C Library V2.06 - Hardware API
hal_init_non_volatile_data
Initialize/Restore non-volatile data. int hal_init_non_volatile_data ( Remop far * remop ); Parameters
remop
- Pointer to
Remop data structure.
Return Value
- Success: AX = 0
Failure: AX < 0, Could not create file
Comments
- This function initializes and restore non-volatile data.
Use it to tell the @CHIP-RTOS where your variables are located,
which should be saved. The function will also reload their saved
values, if available.
- Call this function at the beginning of your program.
The Remop structure reference
by remop
must be static. (This function does not
make a copy of the structure's content.)
SC1x Comments- The non-volatile (remanent) data is stored in
A:\rema.bin
file.
SC1x3 Comments- The non-volatile (remanent) data is stored in a reserved
flash memory area.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|