1. An apparatus comprising: a digital input detector comprising an input transistor; and an adaptive power supply having an output providing a variable supply voltage to the digital input detector; wherein the variable supply voltage provided to the digital input detector by the adaptive power supply varies with a threshold voltage of the input transistor in order to keep a set point value determined as a function of an expected logic level of an input signal independent of a variation in the threshold voltage.