~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/iio/Documentation/userspace.txt

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Userspace access to IIO
2
 
 
3
 
The sysfs attributes are documented in sysfs-bus-iio.
4
 
 
5
 
Udev will create the following entries under /dev by default:
6
 
 
7
 
device0:buffer0:access0 - ring access chrdev
8
 
device0:buffer0:event0 - ring event chrdev
9
 
device0:event0 - general event chrdev.
10
 
 
11
 
The files, lis3l02dqbuffersimple.c and iio_utils.h in this directory provide an example
12
 
of how to use the ring buffer and event interfaces.