9.1.2.1 Example Code

Add the following to the application C-file:
static volatile bool reset_interrupt_triggered = false;
void RSTC_Handler(void)
{
    /* Clear the interrupt. */
    rstc_get_status(RSTC);
    
    reset_interrupt_triggered = true;
}