summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/Documentation/userspace.txt
blob: ff06e5dc7188cd43143aad0a7550949a6c8a5d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Userspace access to IIO

The sysfs attributes are documented in sysfs-bus-iio.

Udev will create the following entries under /dev by default:

device0:buffer0:access0 - ring access chrdev
device0:buffer0:event0 - ring event chrdev
device0:event0 - general event chrdev.

The files, lis3l02dqbuffersimple.c and iio_utils.h in this directory provide an example
of how to use the ring buffer and event interfaces.
OpenPOWER on IntegriCloud