Interrupt Flags

The IOCBFx, IOCCFx, IOCEFx and IOCGF5 bits located in the IOCBF, IOCCF, IOCEF and IOCGF registers respectively, are status flags that correspond to the interrupt-on-change pins of the associated port. If an expected edge is detected on an appropriately enabled pin, then the status flag for that pin will be set, and an interrupt will be generated if the IOCIE bit is set. The IOCIF bit of the PIR0 register reflects the status of all IOCBFx, IOCCFx, IOCEFx and IOCGF5 bits.