diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-17 14:27:16 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:55:31 -0800 |
| commit | 8fc9f652abd71fd53e17c3b2430e702e5a55fae2 (patch) | |
| tree | 1be68890ee24ce98974a69ea308c4683439bd9be /include/linux/timerqueue.h | |
| parent | 66581ca576717229d65003f0870d6dd14e1fe52e (diff) | |
staging: comedi: pcl818: introduce pcl818_ai_get_sample()
Introduce a helper function to read the 12-bit analog input data
sample and optionally return the channel that the sample was for.
The channel is only used in the interrupt routine to check for
dropped samples.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
