Reset to the initial state. Count consecutive high samples up to three, then assert alarm until a low sample resets the detector.
Reset to the initial state. Count consecutive high samples up to three, then assert alarm until a low sample resets the detector.