There are 2 messages in this thread.
You are currently looking at messages 0 to 2.
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.______________________________
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" <j...@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.
>
>
>
______________________________