Patent ID: 8203365

Claim:
An electronic device comprising: a circuit for comparing an input current to a current threshold comprising a diode-connected transistor having a control terminal and to be biased with a first constant current and function in a saturation condition, a sense transistor having a control terminal and a conduction terminal and being mirrored to said diode-connected transistor and to be biased to function in a linear condition, and a load transistor having a control terminal, first and second conduction terminals, and to be coupled in series with said sense transistor and to be biased with a second constant current, said control terminals of said diode-connected transistor, said sense transistor, and said load transistor being directly coupled together, said first conduction terminal of said load transistor and said conduction terminal of said sense transistor to receive the input current so that an output voltage is available on said second conduction terminal of said load transistor with the output voltage representing a difference between the input current and the current threshold when the input current is larger than the current threshold.