A method of sensing current in an output regulator comprises providing a
current sensor having a gain resolution, setting the current sensor gain
resolution to an initial resolution, sensing a current flowing through
the current sensor, evaluating an amplitude of the current, and at a
sampling frequency, controlling the gain resolution of the current sensor
based on the evaluating.