The PLA elements can then be configured to toggle GPIO pins, set register bits, trigger interrupts, or even cause the ADC to begin converting if a logic condition is met. The following slide is an example where some external logic could be implemented on-chip.