Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] Re: TD1(pin 22) on LPC2292/LPC2294 as GPIO

2006-01-27 by Joel Winarske

> > > Yes,direction (GPIO0_IODIR) was OK.
> > >
> > > PCB_PINSEL1 &= 0x0FFFFF; //bit 23:20 as 0, ?P0.26?
> > and
> > > P0.27 as GPIO
> > > GPIO0_DIR |= (1 << 26);  //Set as output
> > > GPIO0_IOSET/GPIO0_IOCLR | =(1 << 26);

P0.26 is reserved per user manual page 128:
http://www.semiconductors.philips.com/acrobat_download/usermanuals/UM_LPC21X
X_LPC22XX_2.pdf

You should be able to toggle P0.27.


Joel

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.