I have used all of the port pins on my 8051 device but have a spare interrupt pin.
Is it possible to use this spare interrupt as an extra port pin for reading/writing?
Read-Only
Author Jon Ward
Posted 14-Nov-2002 14:50 GMT
Toolset C51
RE: Unused Interrupts on an 8051
Jon Ward
Is it possible to use this spare interrupt as an extra port pin for reading/writing?
You should be able to. Check the datasheet for the alternate uses for the pin. If it's simply a port pin whose alternate use is an interrupt input then you can use it as an I/O pin.
Jon
Read-Only
Author erik malund
Posted 14-Nov-2002 14:55 GMT
Toolset C51
RE: Unused Interrupts on an 8051
erik malund
you can wiggle an interrupt pin to your hearts delight if that interrupt is not enabled in the IE sfr.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.