The complexity that was just explained is dramatically reduced by the easySpin L6474. The term T_Fast is the maximum time for the fast decay when the current is stable and T_fall_step is the maximum time for the fast decay to decrease the current level. The easySpin will apply a fraction of this timing, depending on the position in the sine wave. The minimum ON time and the minimum OFF time can also be configured, and will define the ripples accepted by the system. With these solutions, when the current mode is used, only four registers must be programmed. An example of the algorithm that is applied is: if the time to reach the target current is lower than the TON_MIN, then a slow decay is applied; if the time to reach the target current is higher than the TON_MIN, then a fast decay is applied. The total algorithm is a bit more complex, but not presented here.