Analog current-sense amplifiers with integrated shunt resistor