^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. include:: <isonum.txt>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Introduction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) The main purpose of the Industrial I/O subsystem (IIO) is to provide support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) for devices that in some sense perform either
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) analog-to-digital conversion (ADC) or digital-to-analog conversion (DAC)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) or both. The aim is to fill the gap between the somewhat similar hwmon and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) :doc:`input <../input>` subsystems. Hwmon is directed at low sample rate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) sensors used to monitor and control the system itself, like fan speed control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) or temperature measurement. :doc:`Input <../input>` is, as its name suggests,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) focused on human interaction input devices (keyboard, mouse, touchscreen).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) In some cases there is considerable overlap between these and IIO.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Devices that fall into this category include:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) * analog to digital converters (ADCs)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) * accelerometers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) * capacitance to digital converters (CDCs)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) * digital to analog converters (DACs)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) * gyroscopes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) * inertial measurement units (IMUs)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) * color and light sensors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) * magnetometers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) * pressure sensors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) * proximity sensors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) * temperature sensors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Usually these sensors are connected via :doc:`SPI <../spi>` or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) :doc:`I2C <../i2c>`. A common use case of the sensors devices is to have
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) combined functionality (e.g. light plus proximity sensor).