This is the quick start guide for the SAM3/4C/4CM/4CP/4E/4N/4S/G/V71/V70/S70/E70 Reset Controller (RSTC) Driver, 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 User Reset interrupt is enabled and the main application notified about NRST signal assertion events.
Add the following to the application C-file:
Enable the User Reset interrupt:
Add to, e.g., main loop in application C-file: