A bi-stable multivibrator has two stable states. The reference voltage is set up by the voltage divider of R2 and R3. A pulse applied to the SET terminal will switch the output of the comparator high. The resistor divider of R1, R4, and R5 now clamps the non-inverting input to a voltage greater than the reference voltage. A pulse applied to RESET will now toggle the output low.