An apparatus in an electronic device such as a buck converter circuit
receives as a first input a voltage signal VSNS from the electronic
device that represents a current through the electronic device, and
receives as a second input a direct current reference voltage signal from
a reference voltage source VREF. The apparatus regulates a direct current
output IOUT of the electronic device with respect to the reference
voltage source VREF by applying a pulse level transformation to the
voltage signal VSNS using an operational transconductance amplifier.