9.1.4 Interrupt Handling

As a general rule, interrupt flags must be cleared and then read back to confirm they are cleared before exiting the interrupt routine to avoid double interrupts.