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

airspy_gpiodir - reconfigure GPIO Direction

Author

       This manual page was written by Maitland Bottoms for the Debian project (but may be used by others).

Description

       The Airspy is a tiny and efficient software defined radio receiver.

       WARNING this tool reconfigures AirSpy GPIO Direction IN/OUT and can destroy GPIO/MCU in case of mistake

Examples

       <command> -p 0 -n 12 -r # reads gpio port direction from port 0 pin number 120

       <command> -r          # reads gpio direction all pins on all ports0

       <command> -p 0 -n 10 -w 1 # writes gpio direction port 0 pin number 10 with 1(output) decimal0

Name

       airspy_gpiodir - reconfigure GPIO Direction

Options

       -p, --port_no <p>: set port number<p>[0,7] for subsequent read/write operations0

       -n, --pin_no <n>: set pin number<n>[0,31] for subsequent read/write operations0

       -r, --read: read port number/pin number direction specified by last -n argument, or all port/pin0

       -w, --write <v>: write value port direction specified by last -n argument with value<v>[0,1]0

       [-s serial_number_64bits]: Open board with specified 64bits serial number.0

See Also

       Airspy web page: http://airspy.com/

       Other airspy programs:

       airspy_info(1),     airspy_si5351c(1),     airspy_spiflash(1),     airspy_gpio(1),     airspy_gpiodir(1),
       airspy_lib_version(1)

Synopsis

airspy_gpiodir

See Also