Patent ID: 8493077

Claim:
An electronic device including a circuit for measuring a current in an inductor, wherein the current in the inductor is controlled by alternately switching a first power transistor and a second power transistor each having a first electrode, a second electrode and a control gate, the measuring circuit comprising: a first sense transistor having a first electrode, a second electrode and a control gate, the first sense transistor having the control gate coupled to the control gate of the first power transistor and a second electrode coupled to the second electrode of the first power transistor; a second sense transistor having a first electrode, a second electrode and a control gate, the second sense transistor having the control gate coupled to the control gate of the second power transistor and having the second electrode coupled to the second electrode of the second power transistor; and a single amplifier being operable in a first configuration, wherein the single amplifier is switched only to the first sense transistor for providing an output current that is a function of a first current though the first sense transistor during a first period of time or being operable in a second configuration, wherein the single amplifier is only switched only to the second sense transistor for providing the output current as a function of a second current through the second sense transistor during a second period of time, so that the single amplifier alternately senses a current through the first power transistor with the first sense transistor and through the second power transistor with the second sense transistor.