iio_reg(1)

NAME
iio_reg - do a low level read or write to SPI or I2C register

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

DESCRIPTION
iio_reg is a utility for debugging local or remote IIO devices. It should not be used by normal users, and is normally used by driver developers during development, or by end users debugging a driver, or sending in a feature request. It provides a mechanism to read or write SPI or I2C registers for IIO devices. This can be useful when troubleshooting IIO devices, and understanding how the Linux IIO subsystem is managing the device.

OPTIONS
##COMMON_COMMANDS_START## ##COMMON_COMMANDS_STOP## ##COMMON_OPTION_START## ##COMMON_OPTION_STOP##

RETURN VALUE
If the specified device is not found, a non-zero exit code is returned.