Hello,

I have the sauce so I can presumably rip out the useful parts and make
own tool but here is what I get with pio:

root@A13:/sunxi-tools# ./pio print
usage: ./pio [-m|-i input] [-o output] pin..
 print                Show all pins
 Pxx                Show pin
 Pxx<mode><pull><drive><data>    Configure pin
 Pxx=data,drive            Configure GPIO output
 Pxx*count            Oscillate GPIO output (mmap mode only)
 Pxx?pull            Configure GPIO input
 clean                Clean input pins

    mode 0-7, 0=input, 1=ouput, 2-7 I/O function
    pull 0=none, 1=up, 2=down
    drive 0-3, I/O drive level
root@A13:/sunxi-tools# ./pio PF02
usage: ./pio [-m|-i input] [-o output] pin..
 print                Show all pins
 Pxx                Show pin
 Pxx<mode><pull><drive><data>    Configure pin
 Pxx=data,drive            Configure GPIO output
 Pxx*count            Oscillate GPIO output (mmap mode only)
 Pxx?pull            Configure GPIO input
 clean                Clean input pins

    mode 0-7, 0=input, 1=ouput, 2-7 I/O function
    pull 0=none, 1=up, 2=down
    drive 0-3, I/O drive level

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to