File: airspy_gpiodir.1

package info (click to toggle)
airspy-host 1.0.8-1~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 524 kB
  • sloc: ansic: 5,379; makefile: 22; sh: 17
file content (41 lines) | stat: -rw-r--r-- 1,952 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH "airspy_gpiodir" 1 "2015.07.31" AIRSPY "User Commands"
.SH NAME
airspy_gpiodir \- reconfigure GPIO Direction
.SH DESCRIPTION
The Airspy is a tiny and efficient software defined radio receiver.
.LP
WARNING this tool reconfigures AirSpy GPIO Direction IN/OUT and can destroy GPIO/MCU in case of mistake
.SH SYNOPSIS
.B  airspy_gpiodir
.SH OPTIONS
.IP "-p, --port_no <p>: set port number<p>[0,7] for subsequent read/write operations\n"
.IP "-n, --pin_no <n>: set pin number<n>[0,31] for subsequent read/write operations\n"
.IP "-r, --read: read port number/pin number direction specified by last -n argument, or all port/pin\n"
.IP "-w, --write <v>: write value port direction specified by last -n argument with value<v>[0,1]\n"
.IP "[-s serial_number_64bits]: Open board with specified 64bits serial number.\n"
.SH Examples
.IP "<command> -p 0 -n 12 -r # reads gpio port direction from port 0 pin number 12\n"
.IP "<command> -r          # reads gpio direction all pins on all ports\n"
.IP "<command> -p 0 -n 10 -w 1 # writes gpio direction port 0 pin number 10 with 1(output) decimal\n"
.SH SEE ALSO
Airspy web page:
.B http://airspy.com/
.LP
Other airspy programs:
.sp
airspy_info(1), airspy_si5351c(1), airspy_spiflash(1), airspy_gpio(1), airspy_gpiodir(1), airspy_lib_version(1)
.SH AUTHOR
This manual page was written by Maitland Bottoms
for the Debian project (but may be used by others).
.SH COPYRIGHT
Copyright (c) 2015 A. Maitland Bottoms <bottoms@debian.org>
.LP
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
.LP
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.