Patent ID: 8209020

Claim:
An implantable neurostimulator, comprising: pulse generating circuitry for generating electrical pulses; switching circuitry for outputting electrical pulses from the pulse generating circuitry among a plurality of outputs of the implantable neurostimulator; a controller for controlling the implantable neurostimulator according to software instructions; and memory for storing (i) software for controlling pulse generation and output operations of the implantable neurostimulator and (ii) a plurality of stimulation settings wherein each stimulation setting comprises a pulse amplitude parameter, an electrode combination parameter, and a pulse repetition parameter; wherein the software for controlling pulse generation and output operations controls the pulse generating circuitry and the switching circuitry by cycling through the plurality of stimulation settings, wherein in each cycle, the software for controlling (i) repetitively, for a respective stimulation setting, compares the pulse repetition parameter against a number of pulses generated for the respective stimulation setting; (ii) generates and outputs a stimulation pulse for the current stimulation setting according to the pulse amplitude parameter and the electrode combination parameter of the current stimulation setting when a comparison, of the pulse repetition parameter against a number of pulses generated, determines that a sufficient number of pulses have not been generated, (iii) proceeds to a succeeding stimulation setting without generating another stimulation pulse for the current stimulation program when the comparison, of the pulse repetition parameter against a number of pulses generated, determines that a sufficient number of pulses have been generated, and (iv) performs a cycle reset after a completing pulses for a last stimulation setting of the plurality of stimulation settings.