]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: IIO: lis3l02dq ring buffer and data ready trigger support
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 18 Aug 2009 17:06:28 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:25 +0000 (12:02 -0700)
commita8c1b80d6facb90a4a30f9afa14da669d9f06579
tree03e4dd0eb66d47f79d02bf6810151dd02c3da625
parent91070737c6459ab86a9893d60a8828e10b0896bb
Staging: IIO: lis3l02dq ring buffer and data ready trigger support

Example of relatively common case of device sampling
based on internal clock and providing a data ready
signal to indicate that new data is available to be
read out.

Generic trigger approach used to allow other devices
to be sampled 'at the same time' as this the accelerometer.
This is very useful in various motion estimation algorithms.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/Makefile
drivers/staging/iio/accel/lis3l02dq.h
drivers/staging/iio/accel/lis3l02dq_ring.c [new file with mode: 0644]