17.1 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.
| Device | PORTA | PORTB | PORTC | PORTD | PORTE | PORTF | 
|---|---|---|---|---|---|---|
| 28-pin devices | ● | ● | ● | ●(1) | ||
| 40/44-pin devices | ● | ● | ● | ●(1) | ||
| 48-pin devices | ● | ● | ● | ●(1) | ||
| Note: 
                                                   
 | ||||||
Important: If MCLRE =
            
1 or LVP = 1, the MCLR pin
         port functionality is disabled and IOC on that pin is not availableThe Interrupt-on-Change module has the following features: 
- Interrupt-on-Change enable (Master Switch)
- Individual pin configuration
- Rising and falling edge detection
- Individual pin interrupt flags
The following figure is a block diagram of the IOC module.
