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 Boris Králik

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);

Any sugestion ?

--- Joel Winarske <joelw@...> wrote:

> > I try TD1 pin set as GPIO (P0.26) and toogle it
> > (SET/CLR), but without effect.
> > Any sugestion ?
> 
> Direction registers reset as inputs, be sure to set
> direction register
> correctly.
> 
> 
> Joel
> 
> 
> 


Regards / S pozdravom Boris Kralik

http://www.geocities.com/kralikbo/
-------------------------------------------------


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

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.