Patent attributes
An apparatus for measuring a current being supplied to a load includes a first pass transistor to couple a first sense resistance to the load when the first pass transistor is enabled and a second pass transistor to couple a second sense resistance to the load when the second pass transistor is enabled. An error amplifier determines a difference between a voltage being supplied to the load and a reference voltage and to supplies an error amplifier output signal according to the difference. A switch couples the error amplifier output signal to a gate of the first pass transistor or to a gate of the second pass transistor. Control logic controls the switch according to a value of the current being supplied to the load. The voltage being supplied to the load is controlled using the error amplifier output signal that is selectively coupled to the gate of the first pass transistor or the gate of the second pass transistor.