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
>Message
Re: LPC213xpower.pdf by Owen Mooney
2005-10-30 by Guillermo Prandi
Attachments
- No local attachments were found for this message.