Patent 11152938 was granted and assigned to Allegro Microsystems, Llc on October, 2021 by the United States Patent and Trademark Office.
A magnetic switch sensor is provided having a magnetic field sensing element configured to generate a magnetic field signal in response to a magnetic field indicative of a distance or angle between the magnetic field sensing element and a target, a first circuit coupled to receive the magnetic field signal and having an output to provide a comparison signal, and a debounce circuit coupled to receive the comparison signal and having an output to provide a debounced signal. The sensor can include a second circuit having an input coupled to receive the debounced signal and an output at which is provided a toggle signal that transitions between first and second levels every other time the magnetic field signal crosses a threshold level.