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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/20/09 08:14
Read: times


 
#163676 - It's not a "problem".
Responding to: ???'s previous message
Luis Felipe Gomez said:
How do i solve the problem of a level triggered interrupt, doesnt get attended more than once in a microprocesor???

What he means in the question is, the low-level signal at the INT pin must be removed before the execution of RETI; otherwise, another interrupt will be generated after one instruction is executed.


That is not a "problem" with level-triggered interrupts, it how they are intended to work. With a level-triggered interrupt, the interrupt service routine needs to take appropriate action to make sure that the interrupt gets de-asserted, e.g. signal to the peripheral that interrupt processing has taken place.

If that is not the behavior you are looking for, then you need to use edge-triggered interrupts, as Andy already mentioned.

List of 21 messages in thread
TopicAuthorDate
Question of level triggered interrupt            01/01/70 00:00      
   Edge Triggered Interrupt            01/01/70 00:00      
      Only Level triggered            01/01/70 00:00      
   It's not a "problem".            01/01/70 00:00      
      the problem is not technical...            01/01/70 00:00      
      Let me explain again            01/01/70 00:00      
   Idea            01/01/70 00:00      
      What the teacher wants...            01/01/70 00:00      
      Several options...            01/01/70 00:00      
      thats.....            01/01/70 00:00      
         May be you missunderstud            01/01/70 00:00      
   Use a while() trap            01/01/70 00:00      
      Yeah            01/01/70 00:00      
         Use a watchdog timer            01/01/70 00:00      
   How about this?            01/01/70 00:00      
      Wow            01/01/70 00:00      
      which derivative has this feature ?            01/01/70 00:00      
   Our friend the $            01/01/70 00:00      
      Oooops            01/01/70 00:00      
   Answer to my question            01/01/70 00:00      
      Thought about            01/01/70 00:00      

Back to Subject List