![]() |
|
| << Previous | Next >> | |
| | |
Description
- This function should be called at the start of a program if you are using protected variables. It determines whether this restart of the board is due to a software reset from Dynamic C or a call to
forceSoftReset(). If it was a soft reset, this function then does the following:
Calls
_prot_init()to initialize the protected variable mechanisms. It is up to the user to initialize protected variables.Calls
sysResetChain(). The user my attach functions to this chain to perform additional startup actions (for example, initializing protected variables). If a soft reset did not take place, this function calls_prot_recover()to recover any protected variables.Library
- SYS.LIB
See Also
- chkHardReset, chkSoftReset, chkWDTO
| Dynamic C Functions | << Previous | Next >> | rabbit.com |