# IIO Interfacing Tools

_Peios Kernel / Hardware and drivers / Industrial I/O_

> Linux Kernel provides some userspace tools that can be used to retrieve data from IIO sysfs:

<a id="rst-iio-interfacing-tools"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-linux-kernel-tools"></a>

## 1. Linux Kernel Tools

Linux Kernel provides some userspace tools that can be used to retrieve data from IIO sysfs:

- lsiio: example application that provides a list of IIO devices and triggers

- iio_event_monitor: example application that reads events from an IIO device and prints them

- iio_generic_buffer: example application that reads data from buffer

- iio_utils: set of APIs, typically used to access sysfs files.

<a id="rst-libiio"></a>

## 2. LibIIO

LibIIO is a C/C++ library that provides generic access to IIO devices. The library abstracts the low-level details of the hardware, and provides a simple yet complete programming interface that can be used for advanced projects.

For more information about LibIIO, please see: [https://github.com/analogdevicesinc/libiio](<https://github.com/analogdevicesinc/libiio>)
