15 IOC - Interrupt-On-Change

All pins on all ports can be configured to operate as Interrupt-On-Change (IOC) pins. An interrupt can be generated by detecting a signal that has either a rising edge or a falling edge. Any individual pin, or combination of pins, can be configured to generate an interrupt. The interrupt-on-change module has the following features:
  • Interrupt-on-Change enable
  • Individual pin configuration
  • Rising and falling edge detection
  • Individual pin interrupt flags

Figure 15-1 is a block diagram of the IOC module.

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