43 CMP - Comparator Module

Comparators are used to interface analog circuits to a digital circuit by comparing two analog voltages and providing a digital indication of their relative magnitudes. Comparators are very useful mixed signal building blocks because they provide analog functionality independent of program execution.

The analog comparator module includes the following features:

  • Programmable input selection
  • Programmable output polarity
  • Rising/falling output edge interrupts
  • Wake-up from Sleep
  • Selectable voltage reference
  • Selectable comparator speed
    • 50 ns High Speed mode
    • 30 ns High Speed mode
    • 200 ns Low Speed (Low Power) mode
    • 150 ns Low Speed (Low Power) mode
  • Adjustable comparator hysteresis
  • ADC auto-trigger
  • Inter-connections with other available modules (e.g., timer clocks)