16.2 Overview

All the pins of PORTB, PORTC, PORTE, and pin RG5 of PORTG can be configured to operate as Interrupt-on-Change (IOC) pins on PIC18(L)F65/66K40 family devices. 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.