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

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

Re: [avr-gcc-list] avr-gcc and interrupts


From: Andy Warner
Subject: Re: [avr-gcc-list] avr-gcc and interrupts
Date: Sat, 6 Aug 2005 15:47:17 -0500
User-agent: Mutt/1.2.5i

Jonathan Goldberg wrote:
> I'm an avr-gcc newbie.  Can anyone please tell me how to declare a
> function as an interrupt and assign the appropriate vector?

Here's the section of the avr-libc manual that covers this:

http://www.nongnu.org/avr-libc/user-manual/group__avr__interrupts.html

Note that handlers declared with INTERRUPT have global interrupts
enabled when they run, whereas SIGNAL disables all interrupts
before calling your code.

-- 
address@hidden

Andy Warner             Voice: (612) 801-8549   Fax: (208) 575-5634




reply via email to

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