[Top][All Lists]

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

Re: [avr-gcc-list] reentrant interrupt service routine

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] reentrant interrupt service routine
Date: Tue, 1 Apr 2008 20:50:33 +0200 (MET DST)

Jan Menzel <address@hidden> wrote:

> If you like to nest interrupts you have to reenable interrupts
> within your interrupt service handler using eg. sei().

Just look at the documentation for the ISR() macro.  Starting with
version 1.6, it now also allows for interrupt handlers that run with
interrupts initially enabled.  Be careful, some interrupts can never
be configured that way because they would otherwise nest infinitely
(like USART interrupts).

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

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