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.

[tinyAVR][interrupt question]

Status
Not open for further replies.

eng_boody

Member level 3
Joined
Nov 27, 2011
Messages
57
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,754
if i set my External interrupt to rising edge to do some ISR, then i pressed the button triggering that
rising edge , if i keep the key down after pressing it .... will it continue service routine and return back to the original while loop in case am still holding the key down and not let it up yet ?

thanks
 

Hi,

Isr can be edge triggered or level triggered.

If you press a (debounced) button that is edge triggered it will run the isr exactely once.

If it is level triggered it wil run as long as the button is pressed. Many times.

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top