Keil Logo Arm Logo

Discussion Forum

Unused Interrupts on an 8051

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
david campbell
Posted
14-Nov-2002 14:45 GMT
Toolset
C51
New! Unused Interrupts on an 8051
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
New! RE: Unused Interrupts on an 8051
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
New! RE: Unused Interrupts on an 8051
you can wiggle an interrupt pin to your hearts delight if that interrupt is not enabled in the IE sfr.

Erik

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.