The current detection resistor measures the current in the line by measuring the voltage drop on Rsense