The UC3842AN IC is a current Mode PWM Controller, which means it can change the output voltage to the load to provide a constant current. A trimmed oscillator, a temperature corrected reference, a high gain error amplifier, a current detecting comparator, and a high current totem pole output for driving a Power MOSFET are all included in this IC.
In applications such as SMPS, RPS, DC-DC Converters, Line voltage regulators, and so on, the UC3842AN can be used to regulate or limit current. So, if you're looking for an IC that can generate PWM signals to control a power switch based on the current flowing through the circuit, this IC would be a good fit.