blob: ff06e5dc7188cd43143aad0a7550949a6c8a5d9d [file] [log] [blame]
Jonathan Cameronc57f1ba2009-08-18 18:06:32 +01001Userspace access to IIO
2
Jonathan Cameron853098b2010-09-04 17:54:51 +01003The sysfs attributes are documented in sysfs-bus-iio.
Jonathan Cameronc57f1ba2009-08-18 18:06:32 +01004
5Udev will create the following entries under /dev by default:
6
Manuel Stahl5770b8f2010-08-31 11:32:53 +02007device0:buffer0:access0 - ring access chrdev
8device0:buffer0:event0 - ring event chrdev
Jonathan Cameron853098b2010-09-04 17:54:51 +01009device0:event0 - general event chrdev.
Jonathan Cameronc57f1ba2009-08-18 18:06:32 +010010
Barry Songceb05252010-04-26 12:19:01 +080011The files, lis3l02dqbuffersimple.c and iio_utils.h in this directory provide an example
Jonathan Cameronc57f1ba2009-08-18 18:06:32 +010012of how to use the ring buffer and event interfaces.