Datasheet

Table Of Contents
When the comparators are configured for Window mode and Single-shot mode, measurements are
performed simultaneously on both comparators. Writing '1' to either Start Comparison bit in the Control B
register (CTRLB.STARTx) will start a measurement. Likewise either peripheral event can start a
measurement.
Figure 46-4. Comparators in Window Mode
+
-
+
-
STATE0
STATE1
WSTATE[1:0]
INTERRUPTS
EVENTS
INPUT SIGNAL
UPPER LIMIT OF WINDOW
COMP0
COMP1
INTERRUPT
SENSITIVITY
CONTROL
&
WINDOW
FUNCTION
LOWER LIMIT OF WINDOW
46.6.5 VDD Scaler
The VDD scaler generates a reference voltage that is a fraction of the device’s supply voltage, with 64
levels. One independent voltage channel is dedicated for each comparator. The scaler of a comparator is
enabled when the Negative Input Mux bit field or the Positive Input Mux in the respective Comparator
Control register (COMPCTRLx) is set to VSCALE as an input and the comparator is enabled. The voltage
of each channel is selected by the Value bit field in the SCALERx registers (SCALERx.VALUE).
SAM D5x/E5x Family Data Sheet
AC – Analog Comparators
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1647