I've been playing around with a MAX997 as an input stage to a frequency counter. I used a pot to set a trigger point and fed that to the - input and fed the signal t the + input. This works pretty well, but I wondered - can you use a dual version MAX962 to be able to set both an upper trigger and a lower trigger? What type of circuit could accomplish that? If you just doubled the single example and had a pot for each comparator and fed the input signal to both + inputs, then the outputs might be:
HH
LH
HL
LL
HH you would want to be high, LL you would want to be low, but you would want LH or HL to remain unchanged. What type of circuit would accomplish that taking the two comparator outputs and turning them into a single one?