26.5 Interrupts
When the accumulator overflows (NCO_overflow), the NCO Interrupt Flag bit, NCO1IF, of
the PIR7 register is set. To enable the interrupt event (NCO_interrupt), the following
bits must be set:
- EN bit
- NCO1IE bit of the PIE7 register
- PEIE bit of the INTCON register
- GIE bit of the INTCON register
The interrupt must be cleared by software by clearing the NCO1IF bit in the Interrupt Service Routine.