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 18:36
Read: times


 
#82997 - Here is!
Responding to: ???'s previous message
Having EX1 = 1; and its pin high
I assume you mean the interrupt pin. "YES"

Do you have an ISR for EI1? "YES"

Here is:

void Interrupt (void) interrupt 0
{
EX0 = 0;
// Do some stuff...takes (msec)
while (interrupt_pin == 0);
delay(10000); // glitch reject
// do some stuff... (takes msec)
EX0 = 1; // after setting it, wdt triggers causing an int.
return;
}


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