very strange PWM int stop problem

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

it seems if i use PWM interrupt in UC3B and start the PWM counter, and after the interrupt is runned if i want to stop the PWM, then the code that I used:


will not directly stop the PWM counter, the interrupt will be runned again and then stoped.

very strange.