logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sunxi-pio - manipulate PIO (GPIO and pinmux) on sunxi devices

Author

       Ian Campbell <ijc@debian.org>

1.4.2                                              28 Jan 2023                                      sunxi-pio(1)

Description

sunxi-pio manipulates PIO (GPIO and pinmux) on sunxi devices

Name

       sunxi-pio - manipulate PIO (GPIO and pinmux) on sunxi devices

Options

-m
           mmap - read pin state from system

       -i
           read pin state from file

       -o
           save pin state data to file

       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

See Also

       https://linux-sunxi.org/Sunxi-tools#sunxi-pio

Synopsis

sunxi-pio -m|-i input [ -o output ] pin

See Also