Commit bd9a013d authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Jonathan Cameron

docs: iio: document the 'index' attribute too

Two out of three attributes are documented, document the third one too.
Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Link: https://lore.kernel.org/r/20210215143511.25471-4-luca@lucaceresoli.netSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent f2163c1e
...@@ -34,6 +34,7 @@ attributes of the following form: ...@@ -34,6 +34,7 @@ attributes of the following form:
* :file:`enable`, used for enabling a channel. If and only if its attribute * :file:`enable`, used for enabling a channel. If and only if its attribute
is non *zero*, then a triggered capture will contain data samples for this is non *zero*, then a triggered capture will contain data samples for this
channel. channel.
* :file:`index`, the scan_index of the channel.
* :file:`type`, description of the scan element data storage within the buffer * :file:`type`, description of the scan element data storage within the buffer
and hence the form in which it is read from user space. and hence the form in which it is read from user space.
Format is [be|le]:[s|u]bits/storagebitsXrepeat[>>shift] . Format is [be|le]:[s|u]bits/storagebitsXrepeat[>>shift] .
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment