Jonathan Cameron | c57f1ba | 2009-08-18 18:06:32 +0100 | [diff] [blame] | 1 | Userspace access to IIO |
| 2 | |
Jonathan Cameron | 853098b | 2010-09-04 17:54:51 +0100 | [diff] [blame] | 3 | The sysfs attributes are documented in sysfs-bus-iio. |
Jonathan Cameron | c57f1ba | 2009-08-18 18:06:32 +0100 | [diff] [blame] | 4 | |
| 5 | Udev will create the following entries under /dev by default: |
| 6 | |
Manuel Stahl | 5770b8f | 2010-08-31 11:32:53 +0200 | [diff] [blame] | 7 | device0:buffer0:access0 - ring access chrdev |
| 8 | device0:buffer0:event0 - ring event chrdev |
Jonathan Cameron | 853098b | 2010-09-04 17:54:51 +0100 | [diff] [blame] | 9 | device0:event0 - general event chrdev. |
Jonathan Cameron | c57f1ba | 2009-08-18 18:06:32 +0100 | [diff] [blame] | 10 | |
Barry Song | ceb0525 | 2010-04-26 12:19:01 +0800 | [diff] [blame] | 11 | The files, lis3l02dqbuffersimple.c and iio_utils.h in this directory provide an example |
Jonathan Cameron | c57f1ba | 2009-08-18 18:06:32 +0100 | [diff] [blame] | 12 | of how to use the ring buffer and event interfaces. |