AnsweredAssumed Answered

Timer -> generate number of pulses

Question asked by Gregorsanec.Toni on Jul 7, 2015
Latest reply on Jul 7, 2015 by Clive One
Hello,

I would like to generate number of pulses on timer3. I am using two channels PB6&PB7
which runs at different period, but on same timer.  For that reason I am using OC1&OC2 and I am counting number of pulses at each channel at interrupt service routine. 
The problem is,that I do not know how to disable interrupt on single channel, since it
happens, that both interrupts stops.
Could you point me to some example how to stop single only OCx interrupt?

Outcomes