Yahoo Groups archive

Lpc2000

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

Message

Re: proble using MCB2100 with lpc 2129

2004-04-27 by tengbat1980

Thanks,I would try it.
best regards

--- In lpc2000@yahoogroups.com, Charles Manning <manningc2@a...> 
wrote:
> 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
> >
> >
> >

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.