A shunt regulator provides a constant reference voltage across a digital potentiometer that, in conjunction with an op amp and transistor, forms a software-programmable, voltage-controlled current source. ……