Overview

The pins denoted in the table below can be configured to operate as interrupt-on-change (IOC) pins for this device. An interrupt can be generated by detecting a signal that has either a rising edge or a falling edge. Any individual PORT pin, or combination of PORT pins, can be configured to generate an interrupt.

Table 1. IOC Pin Availability per Device
Device PORTA PORTB PORTC
14/16-pin devices  
20-pin devices
Important: If MCLRE = 1 or LVP = 1, the MCLR pin port functionality is disabled and IOC on that pin is not available.
The interrupt-on-change module has the following features:

The following figure is a block diagram of the IOC module.

Figure 1. Interrupt-on-Change Block Diagram (PORTA Example)