Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/28/04 09:36
Read: times


 
#83968 - Timer2
Responding to: ???'s previous message

I'm not too sure if Shahzad has grasped the implication of using Timer2. If we use Timer2 in the auto-reload mode, the interrupt latency does not become a problem - thus his problem is solved.

The example he gives is not using interrupts as he samples the overflow flag in the main code. Either method is equally effective depending on the requirements.

Personally I would use Timer2 and the interrupt - it is not going to affect the accuracy of the timer.



List of 11 messages in thread
TopicAuthorDate
Interrupt latency calculation            01/01/70 00:00      
   Constant = variable            01/01/70 00:00      
      Yes that's correct            01/01/70 00:00      
         16-bit auto-reload            01/01/70 00:00      
   Performance Analyzer            01/01/70 00:00      
   Accuracy, thats the question            01/01/70 00:00      
      accuracy            01/01/70 00:00      
   A bad order            01/01/70 00:00      
   another alternative            01/01/70 00:00      
      correction Timer2 not Timer1            01/01/70 00:00      
         Timer2            01/01/70 00:00      

Back to Subject List