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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/12/05 12:52
Read: times


 
#84826 - blanking a false external interrupt
I want to stop a false external interrupt signal triggering an isr on timer0 for about 2.5mS. What is the best way to do this.

Should i configure timer1 to run for 2.5mS with GATE=0 and ET0=0 then after 2.5ms in the isr for timer1 -> reset the IE0 incase a flag has been raised, set GATE = 1, IT0=1 (falling edge), EX0=1 (enable int) and enable timer0 ET0=1 (interrupt).

Then when the signal i want is received this will trigger the isr of timer0 after the 2.5mS. Will this work??? or is there another way??

List of 8 messages in thread
TopicAuthorDate
blanking a false external interrupt            01/01/70 00:00      
   Dangerous            01/01/70 00:00      
   error prone            01/01/70 00:00      
      external interrupt INT0 for echo signal            01/01/70 00:00      
         Ok, what's the problem?            01/01/70 00:00      
         Why ?            01/01/70 00:00      
            project based design            01/01/70 00:00      
               well...            01/01/70 00:00      

Back to Subject List