Yahoo Groups archive

Lpc2000

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

Message

Re: LPC213xpower.pdf by Owen Mooney

2005-10-30 by Guillermo Prandi

It seems I keep embarrasing myself... The code was never intended to 
wake up the processor on interrupt.

for(;;);

Never mind my mouth. Sorry for all the buzz...

Guille

--- In lpc2000@yahoogroups.com, "Guillermo Prandi" 
<yahoo.messenger@m...> wrote:
>
> I just wanted to add that the small "concept" bug does not affect 
the 
> results of the test at all; it only affects the ability of the 
> processor of returning to normal state with just an interrupt.
> 
> Guille
> 
> --- In lpc2000@yahoogroups.com, "Guillermo Prandi" 
> <yahoo.messenger@m...> wrote:
> >
> > Hi, I just wanted to point out that there seems to be small bug 
in 
> > the test code shown in the PDF:
> > 
> > switch(c) {
> > case 'b': PCON=1;
> > case 'c': PCON=1;
> > case 'd': UartOff();PCON=6;
> > case 'e': PCON=2;
> > case 'f': PCON=6;
> > }
> > 
> > should probably have been:
> > 
> > switch(c) {
> > case 'b': PCON=1; break;
> > case 'c': PCON=1; break;
> > case 'd': UartOff();PCON=6; break;
> > case 'e': PCON=2; break;
> > case 'f': PCON=6; break;
> > }
> > 
> > Guille
> >
>

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.