[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] interrupts

From: Christopher X. Candreva
Subject: Re: [avr-gcc-list] interrupts
Date: Thu, 17 Mar 2005 17:06:38 -0500 (EST)

On Thu, 17 Mar 2005, Jamie Morken wrote:

> When in an interrupt service routine, and another interrupt is triggered 
> (ie. timer overflow) how does avr-gcc know to handle that other interrupt 
> once the current interrupt exits?  Does it go right to the next interrupt?

It doesn't, as such, The AVR itself takes care of that.

You keep interrupts disables durring your ISR, re-enable on exit. At that 
point, if I remember correctly, the AVR will generate any pending 
Chris Candreva  -- address@hidden -- (914) 967-7816
WestNet Internet Services of Westchester

reply via email to

[Prev in Thread] Current Thread [Next in Thread]