| CPC G01R 31/2879 (2013.01) [G01R 31/2856 (2013.01)] | 20 Claims |

|
1. A circuit comprising:
a power transistor having a main current path connected between a first supply node and an output pin for connecting a load, wherein a resistance formed by a chip metallization is coupled in series between the main current path of the power transistor and the output pin;
a current measuring circuit coupled to the power transistor and comprising a sense transistor coupled to the power transistor, wherein the current measuring circuit is configured to deliver a measurement current representing a load current flowing through the power transistor;
an amplifier circuit configured to generate an amplifier output signal representing a voltage across the resistance; and
a control circuit configured, by electronic switches, to output a signal representing the measurement current in a first mode and a signal dependent on the amplifier output signal in a second mode.
|