avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Is this a Stack problem?


From: Bjarne Laursen
Subject: Re: [avr-gcc-list] Is this a Stack problem?
Date: Thu, 22 Jan 2004 08:43:31 +0100

At 21:18 20-01-2004, you wrote:
INTERRUPT(SIG_OUTPUT_COMPARE0) //timer0 compare match INT

You may want to use SIGNAL  instead of INTERRUPT.
INTERRUPT will reenable global interrupt and alllow the interrupt to interrupt itself. You must be careful if you use this methode.
Running out of stack is just one of the problems you will have.

SIGNAL does the same as INTERRUPT but does not reenable global interrupt.

-Bjarne


reply via email to

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