Patent attributes
Evoked compound action potentials (ECAPs) may be used to determine therapy. For example, a medical device includes stimulation generation circuitry and processing circuitry. The processing circuitry is configured to determine if a characteristic of a first ECAP is greater than a threshold ECAP characteristic value. Based on the characteristic of the first ECAP being greater than the threshold ECAP characteristic value, the processing circuitry is configured to decrease a parameter of a first set of pulses delivered by the stimulation generation circuitry after the first ECAP. Additionally, the processing circuitry is configured to determine if a characteristic of a second ECAP is less than the threshold ECAP characteristic value and based on the characteristic of the second ECAP being less than the threshold ECAP characteristic value, increase a parameter of a second set of pulses delivered by the stimulation generation circuitry after the second ECAP.