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.
How to use GPIO?
Started by ●November 11, 2004
Reply by ●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. > > >