The LPC1200 features two analog comparators, each with thirty-two levels of voltage reference. The comparators are capable of providing edge and level comparison outputs and threshold detections, in conjunction with the ADC. The outputs are connected to two 16-bit timers, which can be used as a tick-counter with triggering events.