Digital power monitors with integrated shunt resistor