1. A proximity detector, comprising: one or more magnetic field sensing elements adapted to provide one or more magnetic field signals indicative of a magnetic field associated with an object; and one or more state processors to provide a respective one or more state signals, wherein each one of the one or more state signals is indicative of a plurality of states associated with a respective one of the one or more magnetic field signals.