39.2 Features

  • Two individual comparators (Single pair configuration)
  • 48 pin variants have COMP0 and COMP1

  • No COMP0 in 32 pins

  • Analog comparator outputs available on pins
    • Asynchronous or synchronous
  • Flexible input selection:
    • Up to four pins selectable for positive or negative inputs
    • Ground (for zero crossing)
    • Bandgap reference voltage
    • Programmable VDD scaler for AC_CMP1 (shared with Programmable Low Voltage Detector (PLVD)) and fixed VDD/2 for AC_CMP0
  • Interrupt generation on:
    • Rising or falling edge
    • Toggle
    • End of comparison
  • Window function interrupt generation on:
    • Signal above window
    • Signal inside window
    • Signal below window
    • Signal outside window
  • Event generation on:
    • Comparator output
    • Window function inside/outside window
  • Optional digital filter on comparator output