Pending interrupts are cleared on reset.