The example demonstrates how to use the automatic comparison feature inside the microcontroller to compare analog voltage.
This example can be used on SAM4E-EK boards,SAMV71-Xplained-Ultra, SAME70-Xplained-Pro.
The example is aimed to demonstrate the automatic comparison feature inside the microcontroller. To use this feature, the channel 5 which is connected to the potentiometer should be enabled. Users can change the potentiometer voltage to compare with threshold value.The terminal will output current potentiometer voltage and configured window value.