[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
Visit site
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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…