Using xgpio

From: Thomas Johnson <hidden>
Date: 2007-06-11 09:01:46

Hi,
 
Can anyone give me an example of using the xgpio on an ML403 using
Montavista Linux. 
 
I can see the driver uses ioctl but this only seems to be able to set
the io direction, and I am not clear how to use this, for instance how
do I turn one of the led's on/off or read the GPIO_SW's.
 
Many thanks.
 
Tom Johnson 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help