[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] uco-ii ISR routine
From: |
Anich Gregor |
Subject: |
Re: [avr-gcc-list] uco-ii ISR routine |
Date: |
Sun, 7 Mar 2004 14:35:20 +0100 |
User-agent: |
KMail/1.5.4 |
Hi!
You can set the global interrupt flag with the sei instruction or by using
reti from an ISR.
reti is the same as ret but also re-enables the global interrupt flag "I"
Hope this helps,
blight
On Sunday 07 March 2004 11:06, Ewout Boks wrote:
> Hi all,
>
> I am using Julius Luukko's ISR routines for ucos-ii with avr-gcc.
>
> I noticed that at the end of the ISR, the ret is used as opposed to the
> reti instruction. The same thing goes for the OSTickISR routine.
>
>
> My ISR work fine but I haven't been able to figure out how interrupts
> are re-enabled after the ISR is executed. The I bit is cleared when an
> interrupt is done so how does this work ?
>
>
> Greetings,
>
> Ewout
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list