Using xgpio

Thomas Johnson TMJohnson at fyldemicro.com
Mon Jun 11 18:49:27 EST 2007


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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070611/a522aa76/attachment.htm 


More information about the Linuxppc-embedded mailing list