Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] C question

2006-03-17 by Jack Key

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]

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.