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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/28/03 23:20
Read: times


 
#40330 - RE: Using Timers
Responding to: ???'s previous message
Rob Redding wrote:
-------------------------------
auto reload feature of timer 2..then you do not have to disable the interrupts..

Be careful - I think what Michael was refering to is accessing the 16-bit counter variable in your code. You should disable interrupts to gaurantee a valid result when you read the variable. If you are interrupted during the read you can end up with invalid results.


List of 11 messages in thread
TopicAuthorDate
Using Timers            01/01/70 00:00      
   RE: Using Timers            01/01/70 00:00      
      RE: Using Timers            01/01/70 00:00      
   RE: Using Timers            01/01/70 00:00      
   RE: Using Timers            01/01/70 00:00      
      RE: Using Timers            01/01/70 00:00      
   RE: Using Timers            01/01/70 00:00      
      RE: Using Timers            01/01/70 00:00      
         RE: Using Timers            01/01/70 00:00      
            RE: Using Timers            01/01/70 00:00      
               RE: Using Timers            01/01/70 00:00      

Back to Subject List