Reply by Wolfgang November 12, 20042004-11-12
Hello Jonathan,

Take a look at:

// Include:
#include <csl_gpio.h>
// Variable:
GPIO_Handle hGpio;
// somewhere in your main:
unsigned b=0;

 hGpio = GPIO_open(GPIO_DEV0,GPIO_OPEN_RESET);
 GPIO_pinEnable(hGpio,GPIO_PIN0);
 GPIO_pinDirection(hGpio, GPIO_PIN0,GPIO_OUTPUT);

GPIO_pinWrite(hGpio,GPIO_PIN0,b);

            That should help,
                                Regards Wolfgang

"Jonathan" <jonathan_lin@camels.com.tw> schrieb im Newsbeitrag news:cn10r0$454$1@netnews.hinet.net...
> Does anyone have more information about GPIO? How to use it? > (The TI's documents spru401g.pdf and spru584.pdf do not explain clearly.) > Thank you. > > >
Reply by Jonathan November 11, 20042004-11-11
Does anyone have more information about GPIO? How to use it?
(The TI's documents spru401g.pdf and spru584.pdf do not explain clearly.)
Thank you.