Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Sample ISR setup code for GCC?(Newbie)

Sample ISR setup code for GCC?(Newbie)

2004-05-24 by Richard

Hi,

I have used the GNU tools on an AVR, but not before on an ARM.  Does 
anybody have a link to some sample code that setups up an ISR, 
preferable on a timer?  There does not seem to be a file posted.

I have read the __attribute__((interrupt(IRQ))) part of the GCC 
manual, but this doesn't explain how the IRQ is installed as such.

Thanks...

Re: Sample ISR setup code for GCC?(Newbie)

2004-05-24 by Karl Olsen

--- In lpc2000@yahoogroups.com, "Richard" <embeddedc@h...> wrote:

> I have used the GNU tools on an AVR, but not before on an ARM.  
Does 
> anybody have a link to some sample code that setups up an ISR, 
> preferable on a timer?  There does not seem to be a file posted.
> 
> I have read the __attribute__((interrupt(IRQ))) part of the GCC 
> manual, but this doesn't explain how the IRQ is installed as such.

Check out the "Philips LPC2100 Blinky IRQ Example" that you can 
download from the File Download Area at http://www.keil.com.

Karl

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.