Once the voltage across the sensor capacitor exceeds the internal voltage reference on the non-inverting input of comparator 1, the inverted comparator output connected to the Set input goes to 1 which drives the Q bar output of the SR latch to 0. The sensor capacitor then starts to discharge.