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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/11/03 16:38
Read: times


 
#41287 - RE: How can i best use external interupt ?
Responding to: ???'s previous message
There is a midway approach between external interrupts and the standard polling. You can generate a periodical interrupt using a timer, say every 10 ms. The ISR polls every keyboard button and if some of them is active, then it ...

option 1) ... generates an external interrupt by SW.

option 2) ... sets a flag bit, so that the main program only has to test one flag bit for all the inputs.

Alfredo del Rio.


List of 11 messages in thread
TopicAuthorDate
How can i best use external interupt ?            01/01/70 00:00      
   RE: How can i best use external interupt ?            01/01/70 00:00      
      RE: How can i best use external interupt ?            01/01/70 00:00      
         RE: How can i best use external interupt ?            01/01/70 00:00      
            RE: 100 mSec? Raghu            01/01/70 00:00      
            RE: How can i best use external interupt ?            01/01/70 00:00      
               Good , Amit            01/01/70 00:00      
   RE: How can i best use external interupt ?            01/01/70 00:00      
   RE: How can i best use external interupt ?            01/01/70 00:00      
   RE: How can i best use external interupt ?            01/01/70 00:00      
   RE: How can i best use external interupt ?            01/01/70 00:00      

Back to Subject List