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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/16/03 20:00
Read: times


 
#56777 - RE: TIMER HELP
Responding to: ???'s previous message
Another way to deal with the issues Michael addresses, but without disabling interrupts, is to have the ISR set a set a "TIME_IS_DIRTY" bit whenever it changes one of the HH:MM:SS "registers" ("dirty" borrowed from cache terminology). Then when the non-ISR code goes to read the multiple bytes, it first clears the "dirty" bit, then reads HH:MM:SS, then checks to see if its read was "dirtied" by the ISR during read and if so, loop back around to clear the "dirty" bit and try again.


List of 41 messages in thread
TopicAuthorDate
TIMER HELP            01/01/70 00:00      
   RE: TIMER HELP            01/01/70 00:00      
   RE: TIMER HELP            01/01/70 00:00      
      RE: TIMER HELP            01/01/70 00:00      
         RE: TIMER HELP            01/01/70 00:00      
            RE: TIMER HELP            01/01/70 00:00      
               RE: TIMER HELP            01/01/70 00:00      
                  RE: TIMER HELP            01/01/70 00:00      
               RE: TIMER HELP            01/01/70 00:00      
   RE: TIMER HELP            01/01/70 00:00      
      Timer interrupt response (LONG)            01/01/70 00:00      
         RE: Timer interrupt response (LONG)            01/01/70 00:00      
            RE: Timer interrupt response (LONG)            01/01/70 00:00      
            RE: Timer interrupt response (PS)            01/01/70 00:00      
         RE: Timer interrupt response (LONG)            01/01/70 00:00      
            RE: Timer interrupt response (LONG)            01/01/70 00:00      
               RE: Timer interrupt response (LONG)            01/01/70 00:00      
            RE: Timer interrupt response (LONG)            01/01/70 00:00      
               RE: Timer interrupt response (LONG)            01/01/70 00:00      
                  RE: Timer interrupt response (LONG)            01/01/70 00:00      
                     RE: Timer interrupt response (LONG)            01/01/70 00:00      
                        RE: Timer interrupt response (LONG)            01/01/70 00:00      
                           RE: Timer interrupt response (LONG)            01/01/70 00:00      
                  RE: Timer interrupt response (LONG)            01/01/70 00:00      
               RE: Timer interrupt response (LONG)            01/01/70 00:00      
            RE: Timer interrupt response (LONG)            01/01/70 00:00      
   RE: TIMER HELP            01/01/70 00:00      
   RE: TIMER HELP            01/01/70 00:00      
      RE: TIMER HELP            01/01/70 00:00      
      RE: TIMER HELP            01/01/70 00:00      
      RE: TIMER HELP            01/01/70 00:00      
      RE: TIMER HELP            01/01/70 00:00      
         RE: TIMER HELP            01/01/70 00:00      
            RE: TIMER HELP            01/01/70 00:00      
               RE: TIMER HELP            01/01/70 00:00      
                  RE: TIMER HELP            01/01/70 00:00      
                     RE: Acrobat....            01/01/70 00:00      
                        RE: Acrobat....            01/01/70 00:00      
                           RE: Acrobat....            01/01/70 00:00      
      RE: TIMER HELP            01/01/70 00:00      
         INTERRUPT HELP            01/01/70 00:00      

Back to Subject List