On Tuesday 27 April 2004 20:21, tengbat1980 wrote: > I use gnu c compiler.And can't return the interrupt.Have any way to > solve it?thanks Have a look at the BLINKEYIRQ.ZIP example in the download area of the Keil website. THis shows how you can write a C function with an interrupt attribute. This will apply the appropriate interrupt wrappers. I personally prefer to do my own interrupt wrappers in assembler, which might themselves call C functions. THis allows more flexibility and control. -- Charles > > --- In lpc2000@yahoogroups.com, "embeddedjanitor" <manningc2@a...> > > wrote: > > --- In lpc2000@yahoogroups.com, "tengbat1980" <tengbat1980@y...> > > > > wrote: > > > thanks and i have use some fuction to solve this proglem and > > enable > > > > the switch2 interrupt. > > > > > > VICIntSelect=0x00008000; > > > VICIntEnable=0x00008000; > > > VICFIQStatus=0x00008000; > > > PINSEL0=0x20000000; > > > > > > But now when i entry interrupt,couldnt out,And I have not found > > the > > > > return instruction.how i can solve this problem. > > > > This depends on how you have written your interrupt handler. Is it > > in > > > C or assembler? gcc or ADS or what compiler? .... > > > > Yahoo! Groups Links > > >
Message
Re: [lpc2000] Re: proble using MCB2100 with lpc 2129
2004-04-27 by Charles Manning
Attachments
- No local attachments were found for this message.