A process of controlling a power transistor with states of a state machine, the power transistor having a source, a drain, and a gate and providing current through the source and drain to a load, comprising:
- (a) entering first states to enable fault detection circuity, to enable core circuitry coupled to the transistor, to reset a counter, and to assert the transistor gate to turn on the transistor in a nominal mode suppling a specified current to the load;
- (b) moving to a second state to de-assert the transistor gate upon receiving an active fault signal from the fault detection circuitry including incrementing the counter;
- (c) moving to a third state to re-assert the transistor gate in the normal mode upon the counter having a number less than a certain number;
- and
- (D) moving to a fourth state to assert the transistor gate in a foldback mode suppling current to the load at a level less than in the normal mode upon the counter having a number equal to the certain number.