A comparator takes two input signals and produces a positive output voltage if the first signal is greater than the second.
The second input can receive a signal from a connected module or be set to a constant reference.
reference_voltage
compare_to
\( \in \{ \)
GROUND
\( , \)
SECOND_INPUT
\( , \)
VARIABLE_REFERENCE
\( \} \)
output_polarity
\( \in \{ \)
NONINVERTED
\( , \)
INVERTED
\( \} \)
hysteresis
\( \in \{ \)
ZERO_MILLIVOLTS
\( , \)
TEN_MILLIVOLTS
\( \} \)
input_phase
\( \in \{ \)
PHASE1
\( , \)
PHASE2
\( \} \)
output_sync
\( \in \{ \)
SYNC_DISABLED
\( , \)
SYNC_TO_PHASE1
\( , \)
SYNC_TO_PHASE2
\( \} \)
sync_clock_edge
\( \in \{ \)
RISING_EDGE
\( , \)
FALLING_EDGE
\( \} \)
noninverting
Half-Cycle
inverting
Half-Cycle
output
Continuous