This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:tools-software:linux-software:libiio:iio_reg [02 Oct 2018 11:01] – [iio_reg] Michael Hennerich | resources:tools-software:linux-software:libiio:iio_reg [08 Oct 2021 21:43] (current) – add a finding devices Robin Getz | ||
---|---|---|---|
Line 25: | Line 25: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ===== Finding | ||
+ | |||
+ | An IIO context can have multiple logical devices, and sometimes not all devices will have a specific register interface. To find out which IIO device support register access, try (remember that '' | ||
+ | |||
+ | < | ||
+ | # **iio_attr | ||
+ | IIO context has 4 devices: | ||
+ | iio: | ||
+ | iio: | ||
+ | iio: | ||
+ | iio: | ||
+ | |||
+ | # **iio_attr | ||
+ | dev ' | ||
+ | dev ' | ||
+ | dev ' | ||
+ | </ | ||
+ | |||
+ | From here you can see the three different devices that support the '' | ||
===== Example ===== | ===== Example ===== |