-
Notifications
You must be signed in to change notification settings - Fork 304
/
iio_attr.1.in
108 lines (105 loc) · 2.76 KB
/
iio_attr.1.in
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.\" Copyright (c) 2018-2020 Robin Getz
.\" Copyright (c) 2018-2020 Analog Devices Inc.
.\"
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\" This is free documentation; 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.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual 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.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, see
.\" <http://www.gnu.org/licenses/>.
.\" %%%LICENSE_END
.\"
.TH iio_attr 1 "@CMAKE_DATE@" "libiio-@LIBIIO_VERSION_MAJOR@.@LIBIIO_VERSION_MINOR@" "LibIIO Utilities"
.IX iio_attr
.SH NAME
iio_attr \- list IIO devices, and read/write device attributes
.SH SYNOPSIS
.B iio_attr
[
.I options
]
-d [device] [attr] [value]
.br
.B iio_attr
[
.I options
]
-c [device] [channel] [attr] [value]
.br
.B iio_attr
[
.I options
]
-D [device] [attr] [value]
.br
.B iio_attr
[
.I options
]
-C [attr]
.br
.B iio_attr
-S <arg>
.br
.B iio_attr
-h
.SH DESCRIPTION
.B iio_attr
is a utility for displaying information about local or remote IIO devices.
By providing an optional value,
.B iio_attr
will attempt to write the new value to the attribute.
.SH COMMANDS
.TP
The iio_attr utility has a few main options, which control what the main utility of the application is.
.TP
.B \-d, \-\-device-attr
Read and Write IIO device attributes
.TP
.B \-c \-\-channel-attr
Read and Write IIO channel attributes
.TP
.B \-B \-\-buffer-attr
Read and Write IIO Buffer attributes
.TP
.B \-C \-\-context-attr
Read and Write IIO Context attributes
.TP
.B \-D \-\-debug-attr
Read and Write IIO Debug attributes
##COMMON_COMMANDS_START##
##COMMON_COMMANDS_STOP##
.SH OPTIONS
##COMMON_OPTION_START##
##COMMON_OPTION_STOP##
.TP
.B \-i, \-\-input-channel
Filters channels by input channels only
.TP
.B \-o, \-\-output-channel
Filters channels by output channels only
.TP
.B \-s, \-\-scan-channel
Filters channels by scan channels only
.TP
.B \-I, \-\-ignore-case
When pattern matching devices, channels or attributes, ignore case
.TP
.B \-g, \-\-generate-code <arg>
Generate small C or python snippets that emulate what you are doing on the command line. Argument is a file name 'foo.c' or 'foo.py'
.TP
.SH RETURN VALUE
If the specified device is not found, a non-zero exit code is returned.