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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/29/03 18:55
Read: times


 
#55724 - Hardware query on interrupt
Hello,
I am using AT89s51 .I am using four keys which are connected to p1.0 to p1.3.
The arrangment is as folows -
portpin -connected to one end of switch -other end of switch connected to ground using resistor
When the key is pressed by the user ,the port pin goes low . Now i need to generate interrupt .
So i take the i/p from the four port pin (which are connected to their respective end of switch) and use a AND gate ,the output of which is given it to the interrupt pin p3.2 (INT0 is edge triggered).
Thus when one of the port pin goes low ,an interrupt will be generated .
I want to ask if it is possible for me to connect the output of AND gate to the interrupt directly ,or should i need some hardware inbetween.

Thanks ,
Pravin

List of 10 messages in thread
TopicAuthorDate
Hardware query on interrupt            01/01/70 00:00      
   RE: Hardware query on interrupt            01/01/70 00:00      
   RE: Hardware query on interrupt            01/01/70 00:00      
      RE: Hardware query on interrupt            01/01/70 00:00      
         RE: Hardware query on interrupt            01/01/70 00:00      
            RE: Hardware query on interrupt            01/01/70 00:00      
               RE: Hardware query on interrupt            01/01/70 00:00      
                  RE: Hardware query on interrupt            01/01/70 00:00      
                     RE: Hardware query on interrupt            01/01/70 00:00      
                        RE: Hardware query on interrupt            01/01/70 00:00      

Back to Subject List