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

Back to Subject List

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


 
#83001 - disable int in ISR is worthless
Responding to: ???'s previous message
void Interrupt (void) interrupt 0
{
EX0 = 0;
...
EX0 = 1;

There is absolutotally no purpose in disabling an interrupt in the associated ISR.

If the pin does not move, the disable is superfluous. Regardless of whether it moves once or many times you will still get one more vector to the ISR.

What are you trying to achieve with the disable - enable?

Erik

List of 21 messages in thread
TopicAuthorDate
LPC932 WDT Triggered by Ext. Int.            01/01/70 00:00      
   please carify            01/01/70 00:00      
      Here is!            01/01/70 00:00      
         How to post code            01/01/70 00:00      
         Oh no you don't!            01/01/70 00:00      
         Wrong Numbers            01/01/70 00:00      
            disable int in ISR is worthless            01/01/70 00:00      
               disable int in ISR is worthless            01/01/70 00:00      
         wd trigger            01/01/70 00:00      
            wdt feeds from main            01/01/70 00:00      
               what effect does that have            01/01/70 00:00      
                  You are Right            01/01/70 00:00      
                     KISS            01/01/70 00:00      
                        So!            01/01/70 00:00      
                           info, please            01/01/70 00:00      
                              WDT            01/01/70 00:00      
                                 puppy chow            01/01/70 00:00      
                     Interrupts - back to basics            01/01/70 00:00      
               Kick that dog in the interrupt            01/01/70 00:00      
                  Not generally a good idea            01/01/70 00:00      
                     Use different method            01/01/70 00:00      

Back to Subject List