Quoting anish n <aanishn@...>: > i want to generate an interrupt from TMR0 every 4secs; and register a > FIQ handler for it. could any one please help me with this. i am > using GNU as assembeler. While I'd do the prologue and epilogue in assembler there is no reason to not do the main body in C. Also no reason to use FIQ over IRQ given the information you've presented so far. 0.25 Hz isn't exactly pushing the performance limits of these micros. Take a look at the newlib-lpc support in the download section at http://www.aeolusdevelopment.com/ That has an interrupt epilogue and prologue implementation. Also some other interrupt utility setup routines (VIC etc..) Robert
Message
Re: [lpc2000] help coding ISR in asm
2006-04-19 by Robert Adsett
Attachments
- No local attachments were found for this message.