Patent ID: 8884675

Claim:
A method of controlling a slew rate of a transistor, comprising: upon a first transition of a MOSFET control signal from a low to a high value, measuring an operating voltage of a MOSFET and determining whether the operating voltage is between a first predetermined set of values, and when the operating voltage is between the first predetermined set of values incrementing a first counter, a first count of the first counter corresponding to a rise time slew rate of the MOSFET control signal; controlling a turn-on current of the MOSFET based upon the first count; subsequently upon a second transition of a MOSFET control signal from a high to a low value, measuring the operating voltage of the MOSFET, and determining whether the operating voltage is between a second predetermined set of values, and when the operating voltage is within the second predetermined set of values incrementing a second counter, a second count of the second counter corresponding to a fall time slew rate of the MOSFET control signal; controlling a turn-off current of the MOSFET based upon the second count.