The Keil CA Compiler implements the keywords __irq and __fiq. With the __fiq keyword the compiler does not save the CPU registers R8 - R12, since the ARM CPU implements separate registers in the FIQ mode.
This is what the keil help says. Above that I do not know anything more than the obvious fact that __irq tells the function that it is an irq interrupt. Then you may ask what is the use of the register VICIntSelect. I too dont know the answer for that. Anyways, hope my effort was of any help.
Regards,
Jack.
heedaf <ruffellfamily@...> wrote:
I have a newbie question. In the following code
void ADC0Handler (void) __irq
What does __irq do? I've never seen this before. It comes from the
Kiel ADC sample listed Philips website.
Thanks,
Dewayne
SPONSORED LINKS
Microcontrollers Microprocessor Intel microprocessors Pic microcontrollers
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "lpc2000" on the web.
To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
[Non-text portions of this message have been removed]Message
Re: [lpc2000] C question
2006-03-17 by Jack Key
Attachments
- No local attachments were found for this message.