Yahoo Groups archive

Lpc2000

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

Message

Re: LPC2114/2124 pin select usage

2005-03-31 by bobtransformer

Thank you, I feel somewhat better hearing this.
What bothered me is looking at PINSEL0 and PINSEL1
registers.

When the bits are set to 00, I see pins are pretty much
GPIO (left hand column of the table).  Can the pins be configured as 
GPIO and then initializing the other functions such as PWM and UARTs 
and A/D channls to enabled make the IO and alternate functions 
available on their respective pins, while keeping the other
GPIO pins, GPIO ??

OR, how is this done ?  Maybe I just need to spend a lot more
time with the manual.

Thanks,
boB






************************************************
>>>>>>>>>
Hi Bob,

as a general rule, what is not assigned to an alternate function will
still be general purpose I/O.

In fact , you have more I/O pins on this device as compared to e.g.
the Atmel SAM7 because that device has more dedicated pins such as
debug pins and analog inputs. Overall, I like the flexiibility of the
LPC2000 series better.

hth Bob

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.