the output fet duty cycle is controlled by PWM.
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.