Shown here shows the block diagram of the PWM modulator. By acting on the Vref pin, the microcontroller can set the current in each phase of the motor according to the desired torque. The fixed off-time is controlled by the RC network externally connected to the RC pin.