very strange PWM int stop problem

1 post / 0 new
Author
Message
#1
  • 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:

pwm_stop_channels(AVR32_PWM_DIS_CHID0_MASK);

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

very strange.