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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/27/04 13:51
Read: times


 
#83930 - 16-bit auto-reload
Responding to: ???'s previous message
Shahzad said:
i can not use auto reload as i need to generate 50ms delays (possibly more deplay) and for this purpose i have to set both resgiters of timers. in auto reload i have to use one register for intial value and other register for counting.


Timer 2 has a 16-bit autoreload so you can set the reload value to anything between 0000h and FFFFh rather than the 00h and FFh that timer 0 and timer 1 give you in auto-reload mode. Depending on your crystal you can get 50ms out of timer 2 in auto-reload.

Regards,
Craig Steiner


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