the output fet duty cycle is controlled by control loop with pulse width modulation.
the left opamp measures the current through the flywheel circuit and outputs this as a voltage. 1A = 1V. the centre comparator compares this to a reference voltage. the right comparator converts this output to PWM.