[Avila] GPIO Support and Usage

Josh Layhue josh.layhue at tridsys.com
Tue Nov 14 14:04:20 EST 2006


------_=_NextPart_001_01C7081F.496CC39B
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'm pretty new to embedded programming, so please forgive the poorly
written questions...  I need to drive a few LEDs from an application.  I
see that the LED on-board the GW2348-4 board that I have is driven by
the GPIO (or at least I believe it is).  How do I control that LED?  Is
there a way to turn that LED on/off from an application?  FYI: I'm
currently running a 2.6 uClinux kernel.

=20

I read in the manual for the GW2348-4 that there are registers to
control the digital I/O (GPOER, GPOUTR, etc.).  I assume I need to
access these registers.  How would I go about doing that if, in fact, I
need to?

=20

Thanks in advance for your help.

=20

Josh

=20

------_=_NextPart_001_01C7081F.496CC39B--





More information about the Avila mailing list