This is the quick start guide for the Reset Cause service, with step-by-step instructions on how to configure and use the driver in a selection of use cases.
The use cases contain several code fragments. The code fragments in the steps for setup can be copied into a custom initialization function, while the steps for usage can be copied into, e.g., the main application function.
In this basic use case, the reset cause service is used for checking if the last reset was a watchdog reset.
Add to application C-file:
For more advanced use of the Reset Cause service, see the following use cases: