Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Level vs. Edge Sensitive Interrupts

Status
Not open for further replies.

ldm

Member level 1
Joined
Oct 14, 2005
Messages
39
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,632
level-sensitive interrupts

When we choose to use Edge and when Level Sensitive interrupts? What difference between them?

Level Sensitive Interrupt -> what problems it has and how they might be resolved?
 

edge sensitive interrupts

Hi,
It depends purely on the application. If you want to interrupt your processor once on a transition then you can go for edge triggered interrupts. But suppose you have a application where a device wants to send you some junk of data then you declare the interrupt as level triggered. When the processor comes out of subroutine and it finds the interrupt pin still low, it may execute one instruction, and then again go back to interrupt.
Generally edge triggered interrupts are used when you want the processor to interrupt only once some condition has occured, irrespective of wether the interrupt generating signal was deasserted again by the source.

Best Regards,
 

difference between level and edge interrupts

"When the processor comes out of subroutine and it finds the interrupt pin still low, it may execute one instruction, and then again go back to interrupt."

ok, how we avoid the discribed above situation?
 

level- or edge-sensitive

I want to add;
Level trigger interrupt cannot recognize very short time pin signal [signal active time].
on the other hand edge trigger can recognize any short duration pulse [it just sensitive to pulse edge].
 
edge-sensitive vs. level-sensitive interrupts

so, in which cases a level sensitive might be preffered over an edge sensitive interrupt?

Till now I see only cons of the level sensitivity and no pros at all.

Am I wrong?
 

difference between edge and level interrupt

in the case of edge trigger, it may generate unwanted interrupt when input signal has glitch and so on.
on the other hand if edge trigger not seen in some special situation (eg. when process in the service routin) level trigger preffered!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top