|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| CI/travis/ | | 03-May-2024 | - | 939 | 673 |
| bindings/ | | 03-May-2024 | - | 4,558 | 3,519 |
| cmake/ | | 03-May-2024 | - | 193 | 175 |
| deps/wingetopt/ | | 03-May-2024 | - | | |
| doc/ | | 03-May-2024 | - | 319 | 317 |
| examples/ | | 03-May-2024 | - | 1,388 | 942 |
| iiod/ | | 03-May-2024 | - | 4,049 | 3,018 |
| tests/ | | 03-May-2024 | - | 2,762 | 2,175 |
| xml/ | | 03-May-2024 | - | 196 | 192 |
| CMakeLists.txt | D | 03-May-2024 | 15.6 KiB | 479 | 389 |
| COPYING.txt | D | 03-May-2024 | 23.9 KiB | 457 | 385 |
| Distribution.xml.cmakein | D | 03-May-2024 | 700 | 21 | 20 |
| Doxyfile.in | D | 03-May-2024 | 79.7 KiB | 1,854 | 1,431 |
| README.md | D | 03-May-2024 | 10.1 KiB | 53 | 38 |
| appveyor.yml | D | 03-May-2024 | 10 KiB | 152 | 117 |
| backend.c | D | 03-May-2024 | 1.7 KiB | 85 | 59 |
| buffer.c | D | 03-May-2024 | 8 KiB | 325 | 236 |
| channel.c | D | 03-May-2024 | 20.5 KiB | 845 | 695 |
| context.c | D | 03-May-2024 | 9.8 KiB | 438 | 347 |
| debug.h | D | 03-May-2024 | 2.2 KiB | 97 | 66 |
| device.c | D | 03-May-2024 | 25.6 KiB | 1,152 | 958 |
| iio-config.h | D | 03-May-2024 | 661 | 32 | 26 |
| iio-config.h.cmakein | D | 03-May-2024 | 830 | 32 | 26 |
| iio-lock.h | D | 03-May-2024 | 964 | 31 | 8 |
| iio-private.h | D | 03-May-2024 | 7.9 KiB | 293 | 206 |
| iio.h | D | 03-May-2024 | 69.4 KiB | 1,778 | 402 |
| iiod-client.c | D | 03-May-2024 | 14.6 KiB | 675 | 530 |
| iiod-client.h | D | 03-May-2024 | 3 KiB | 72 | 47 |
| libiio.iss.cmakein | D | 03-May-2024 | 4 KiB | 70 | 60 |
| libiio.pc.cmakein | D | 03-May-2024 | 281 | 13 | 10 |
| libiio.rules.cmakein | D | 03-May-2024 | 140 | 2 | 1 |
| local.c | D | 03-May-2024 | 45.1 KiB | 2,077 | 1,637 |
| lock.c | D | 03-May-2024 | 1.8 KiB | 91 | 63 |
| mainpage.dox | D | 03-May-2024 | 13.2 KiB | 257 | 193 |
| network.c | D | 03-May-2024 | 35.5 KiB | 1,628 | 1,266 |
| properties.rc.cmakein | D | 03-May-2024 | 881 | 25 | 23 |
| scan.c | D | 03-May-2024 | 4.4 KiB | 215 | 158 |
| serial.c | D | 03-May-2024 | 12.4 KiB | 536 | 419 |
| sort.c | D | 03-May-2024 | 3.1 KiB | 94 | 43 |
| sort.h | D | 03-May-2024 | 1 KiB | 29 | 8 |
| usb.c | D | 03-May-2024 | 27.9 KiB | 1,193 | 914 |
| utilities.c | D | 03-May-2024 | 4.5 KiB | 215 | 157 |
| xml.c | D | 03-May-2024 | 10.8 KiB | 459 | 378 |
README.md
1# libiio
2
3Library for interfacing with Linux IIO devices
4
5libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial.
6
7Although libiio was primarily developed by Analog Devices Inc., it is an active open source library, which many people have contributed to. It released under the GNU Lesser General Public License, version 2.1 or later, this open-source license allows anyone to use the library, on any vendors processor/FPGA/SoC, which may be controlling any vendors peripheral device (ADC, DAC, etc) either locally or remotely. This includes closed or open-source, commercial or non-commercial applications (subject to the LGPL license freedoms, obligations and restrictions).
8
9License : [![License](https://img.shields.io/badge/license-LGPL2-blue.svg)](https://github.com/analogdevicesinc/libiio/blob/master/COPYING.txt)
10Latest Release : [![GitHub release](https://img.shields.io/github/release/analogdevicesinc/libiio.svg)](https://github.com/analogdevicesinc/libiio/releases/latest)
11Downloads : [![Github All Releases](https://img.shields.io/github/downloads/analogdevicesinc/libiio/total.svg)](https://github.com/analogdevicesinc/libiio/releases/latest)
12
13Scans : [![Coverity Scan Build Status](https://img.shields.io/coverity/scan/4796.svg)](https://scan.coverity.com/projects/analogdevicesinc-libiio)
14Release docs: [![Documentation](https://codedocs.xyz/analogdevicesinc/libiio.svg)](http://analogdevicesinc.github.io/libiio/)
15Issues : [![open bugs](https://img.shields.io/github/issues/analogdevicesinc/libiio.svg)](https://github.com/analogdevicesinc/libiio/issues)
16[![closed bugs](https://img.shields.io/github/issues-closed/analogdevicesinc/libiio.svg)](https://github.com/analogdevicesinc/libiio/issues?q=is%3Aissue+is%3Aclosed)
17
18Support:<br>
19If you have a question about libiio and an Analog Devices IIO kernel driver please ask on : [![EngineerZone](https://img.shields.io/badge/chat-on%20EngineerZone-blue.svg)](https://ez.analog.com/linux-device-drivers/linux-software-drivers). If you have a question about a non-ADI devices, please ask it on [github](https://github.com/analogdevicesinc/libiio/issues).
20
21As with many open source packages, we use [GitHub](https://github.com/analogdevicesinc/libiio) to do develop and maintain the source, and [Travis CI](https://travis-ci.com/) and [Appveyor](https://www.appveyor.com/) for continuous integration.
22 - If you want to just use libiio, we suggest using the [latest release](https://github.com/analogdevicesinc/libiio/releases/latest).
23 - If you think you have found a bug in the release, or need a feature which isn't in the release, try the latest **untested** binaries from the master branch and check out the [documentation](https://codedocs.xyz/analogdevicesinc/libiio/) based on the master branch. We provide builds for a few operating systems. If you need something else, we can most likely add that -- just ask.
24
25| Operating System | GitHub master status | Version | Primary Installer Package | Alternative Package, tarball or zip |
26|:-----------------------:|:---------------------:|:-------:|:-------------------:|:--------------:|
27| Windows | [![Windows Status](https://ci.appveyor.com/api/projects/status/github/analogdevicesinc/libiio?svg=true)](https://ci.appveyor.com/project/analogdevicesinc/libiio/branch/master) | Windows 10<br />Windows 8.1<br />Windows 8<br />Windows 7 | [![Latest Windows installer](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/win_box.png)](https://ci.appveyor.com/api/projects/analogdevicesinc/libiio/artifacts/libiio-setup.exe?branch=master) | [![Latest Windows zip](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/win_box.png)](https://ci.appveyor.com/api/projects/analogdevicesinc/libiio/artifacts/libiio.zip?branch=master) |
28| OS X | [![OSX Status](https://api.travis-ci.org/analogdevicesinc/libiio.svg?branch=master&label=osx&passingTex=foo)](https://travis-ci.org/analogdevicesinc/libiio) | OS X High Sierra <br />(v 10.13) | [![OS-X package 10.13](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/osx_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-darwin-10.13.6.pkg) | [![OS-X tarball 10.10](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/osx_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-darwin-10.13.6.tar.gz) |
29| | | macOS Sierra<br />(v 10.12) | [![OS-X package 10.12](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/osx_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-darwin-10.12.6.pkg) | [![OS-X tarball 10.12](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/osx_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-darwin-10.12.6.tar.gz) |
30| | | OS X El Capitan<br />(v 10.11) | [![OS-X package 10.11](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/osx_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-darwin-10.11.6.pkg) | [![OS-X tarball 10.11](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/osx_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-darwin-10.11.6.tar.gz) |
31| Linux | [![Linux Status](https://api.travis-ci.org/analogdevicesinc/libiio.svg?branch=master&label=linux)](https://travis-ci.org/analogdevicesinc/libiio) | Ubuntu Bionic Beaver<br />(v 18.04)<sup>1</sup> | [![Debian](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/deb.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-18.04-amd64.deb) | [![RPM File](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/rpm.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-18.04-amd64.rpm) [![tar.gz](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/linux_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-18.04-amd64.tar.gz) |
32| | | Ubuntu Xenial Xerus<br />(v 16.04)<sup>1</sup> | [![Debian](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/deb.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-16.04-amd64.deb) | [![RPM File](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/rpm.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-16.04-amd64.rpm) [![tar.gz file](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/linux_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-16.04-amd64.tar.gz) |
33| | | Ubuntu Trusty Tahr<br />(v 14.04)<sup>1</sup> | [![Debian](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/deb.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-14.04-amd64.deb) | [![RPM File](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/rpm.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-14.04-amd64.rpm) [![tar.gz file](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/linux_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-ubuntu-14.04-amd64.tar.gz) |
34| | | CentOS 7 | [![RPM File](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/rpm.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-centos-7-x86_64.rpm) | [![Debian](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/deb.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-centos-7-x86_64.deb) [![tar.gz](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/linux_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-centos-7-x86_64.tar.gz) |
35| | | CentOS 6 | [![RPM File](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/rpm.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-centos-6.10-x86_64.rpm) | [![Debian](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/deb.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-centos-6.10-x86_64.deb) [![tar.gz](https://raw.githubusercontent.com/wiki/analogdevicesinc/libiio/img/linux_box.png)](http://swdownloads.analog.com/cse/travis_builds/master_latest_libiio-centos-6.10-x86_64.tar.gz) |
36
37If you use it, and like it - please let us know. If you use it, and hate it - please let us know that too. The goal of the project is to try to make Linux IIO devices easier to use on a variety of platforms. If we aren't doing that - we will try to make it better.
38
39Feedback is appreciated (in order of preference):
40
41 * [Github trackers](https://github.com/analogdevicesinc/libiio/issues) for bugs, improvements, or feature requests
42 * [Analog Devices web forums](https://ez.analog.com/community/linux-device-drivers/linux-software-drivers) for general help on libiio and/or ADI Linux IIO drivers
43 * [The IIO mailing list](http://vger.kernel.org/vger-lists.html#linux-iio) for questions about other Linux IIO drivers, or kernel-specific IIO questions
44
45Weblinks:
46 * About IIO: https://wiki.analog.com/software/linux/docs/iio/iio
47 * API Documentation: http://analogdevicesinc.github.io/libiio/
48 * Libiio : http://wiki.analog.com/resources/tools-software/linux-software/libiio
49 * Libiio internals : http://wiki.analog.com/resources/tools-software/linux-software/libiio_internals
50
511. The Ubuntu packages are known to work on their Debian counterpart releases.
52
53