This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 External interrupts

OK, I'm a novice with the 8051. How do you map a port pin to an external interrupt (or visa versa, say External interrupt 2)?

I'm assuming that there are no dedicated pins for each of the seven Ex. interrupts on my chip and they have to be assigned somehow to a pin/bit on a specific port. Is this assumption correct?

-Michael

Parents
  • Hi,
    There are no way you can assigen all 7 pin to 7 interrupt The ISP generator will generator based on the condition. You must find out is there any single pin which can use as the interrupt, If yes then you ask your hardware engineer to integrated all the 7 pin to that ISP pin


    reagrsd
    terrance

Reply
  • Hi,
    There are no way you can assigen all 7 pin to 7 interrupt The ISP generator will generator based on the condition. You must find out is there any single pin which can use as the interrupt, If yes then you ask your hardware engineer to integrated all the 7 pin to that ISP pin


    reagrsd
    terrance

Children