Wiki

This version is outdated by a newer approved version.DiffThis version (01 Oct 2018 21:14) was approved by Michael Hennerich.

This is an old revision of the document!


iio_reg

iio_reg is part of the Libiio package, a library that has been developed to ease the development of software interfacing Linux Industrial I/O (IIO) devices. There are four main userspace helper/utilities:

  • iio_attr : read and write IIO attributes
  • iio_info : dump the IIO attributes
  • iio_readdev : read an IIO buffer device
  • iio_writedev : write an IIO buffer device
  • iio_reg : read or write SPI or I2C registers in an IIO device (useful to debug drivers)

analog@imhotep:~$ iio_reg -h
Usage:

iio_reg <device> <register> [<value>]

Example

# iio_reg ad9361-phy 0x3
0x5c

resources/tools-software/linux-software/libiio/iio_reg.1538421273.txt.gz · Last modified: 01 Oct 2018 21:14 by Michael Hennerich