IIO tools
There are some useful tools you can use in order to simplify and speed up your app development with IIO devices. They are available in tools/iio
in the kernel tree:
lsiio.c
: Enumerate IIO triggers, devices, and channelsiio_event_monitor.c
: Monitor an IIO device'sioctl
interface for IIO eventsgeneric_buffer.c
: Retrieve, process, and print data received from an IIO device's bufferlibiio
: This is a powerful library developed for analog devices to interface with IIO devices, and is available at https://github.com/analogdevicesinc/libiio