diff options
| author | 2014-03-10 14:07:33 -0700 | |
|---|---|---|
| committer | 2014-03-17 14:03:59 -0700 | |
| commit | bea8052074691c70526ae6a555d25f111c0aad0a (patch) | |
| tree | 7f76d2c9b8ed0398439288b6b13c9695122e52ed /tools/lib/python/kdoc/python_version.py | |
| parent | staging: comedi: c6xdigio: define the register map (diff) | |
staging: comedi: c6xdigio: introduce c6xdigio_get_encoder_bits()
The 24-bit encoder value is read using 3-bits in the status register. The
data register is banged between each read of the status register to advance
the bits.
Introduce a helper function to handle this and remove the union encvaluetype
and struct encbitsbyte.
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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
