Gabriel
Gabriel

Reputation: 19

Is there a way to make external interrupts active with rising edges in an 8051 microprocessor?

I know the 8051 can handle interrupts both as level triggered and edge triggered. However in order for them to work the pin must be constantly at a high and transition to a low. What can I do if the device connceted to the pin is constantly at a low and i want the ISR to trigger when it goes to high? Is a NOT gate my only option? Or can I bypass the problem with software?

Upvotes: 0

Views: 473

Answers (1)

nakul parashar
nakul parashar

Reputation: 85

There is no way to change the working of hardware interrupt using software. Not gate is the only option unless you want to switch to another controller which may support active high interrupt.

Upvotes: 1

Related Questions