iio_tools.rst 893 B

123456789101112131415161718192021222324252627
  1. .. SPDX-License-Identifier: GPL-2.0
  2. =====================
  3. IIO Interfacing Tools
  4. =====================
  5. 1. Linux Kernel Tools
  6. =====================
  7. Linux Kernel provides some userspace tools that can be used to retrieve data
  8. from IIO sysfs:
  9. * lsiio: example application that provides a list of IIO devices and triggers
  10. * iio_event_monitor: example application that reads events from an IIO device
  11. and prints them
  12. * iio_generic_buffer: example application that reads data from buffer
  13. * iio_utils: set of APIs, typically used to access sysfs files.
  14. 2. LibIIO
  15. =========
  16. LibIIO is a C/C++ library that provides generic access to IIO devices. The
  17. library abstracts the low-level details of the hardware, and provides a simple
  18. yet complete programming interface that can be used for advanced projects.
  19. For more information about LibIIO, please see:
  20. https://github.com/analogdevicesinc/libiio