cmp# Overview# The cmp input internal example demonstrates the comparator’s functionality with one external voltage source and one internal voltage reference source, the example detect rising edge interrupt and falling edge interrupt.