15.10 Interrupt-on-Change

An input change on any port pins that support IOC sets Flag bit, IOCIF. The interrupt can be enabled/disabled by setting/clearing the enable bit, IOCIE. Pins must also be individually enabled in the IOCxP and IOCxN register. IOCIF is a read-only bit and the flag can be cleared by clearing the corresponding IOCxF registers. For more information, refer to the “Interrupt-on-Change” chapter.