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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/05/08 08:18
Read: times


 
#157970 - See any potential problems?
Responding to: ???'s previous message
What do you think happens if you update the timer registers while it is running? Note that you are not updating TL0 and TH0 atomically in a single instruction, so the timer may tick in the middle of your update. Do you see any potential problems?

List of 17 messages in thread
TopicAuthorDate
Auto reload            01/01/70 00:00      
   See any potential problems?            01/01/70 00:00      
   Enable interrupts last            01/01/70 00:00      
      RE:            01/01/70 00:00      
         this may, some day, bite you in your lagest muscle            01/01/70 00:00      
            also may, some day, bite you in your lagest muscle            01/01/70 00:00      
               CALL or JMP            01/01/70 00:00      
                  good catch            01/01/70 00:00      
                     RE:            01/01/70 00:00      
                        find out            01/01/70 00:00      
         Remember the update            01/01/70 00:00      
   So, what the final answer ?            01/01/70 00:00      
      diplomatic answer - OK and the direct too            01/01/70 00:00      
         care with multi-read/multi-write of running timers            01/01/70 00:00      
            Re:problem with updating a 16-bit counter            01/01/70 00:00      
               If you knew that..................            01/01/70 00:00      
                  RE:If you knew that..................            01/01/70 00:00      

Back to Subject List