Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Interrupt Prologue/Epilogue Was: {To TomW} GCC-Bug in IRQs

2006-03-26 by Robert Adsett

At 10:42 PM 3/26/2006 +0000, frankcallaghan9 wrote:
>Hi Guys,
>I've just hit this problem in my UART handler, I'm new to the ARM
>and haven't used it's asm yet! could one of you ASM gurus
>please post the required inline entry/exit code for us dummys
>thanks,

My experience with inline matches that of compiler interrupt keywords.  It 
makes far more sense just to do it in assembly.

Take a look at the interrupt example in newlib-lpc. 
http://www.aeolusdevelopment.com/Articles/download.html They can be easily 
separated from the rest so using the epilogues and prologues from there 
doesn't commit you to the rest of the library.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Attachments

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.