diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-07 03:23:32 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 08:56:26 +0300 |
| commit | 616f86f00fc9b82a300466c5896c3c6682bbb8dc (patch) | |
| tree | 3b1afa76bae69cebeea3fe9acfb52884be743f3d /include | |
| parent | 1cee8eaa254988574452f302dd8ce28a7303d49d (diff) | |
| download | linux-616f86f00fc9b82a300466c5896c3c6682bbb8dc.tar.xz | |
staging: comedi: me_daq: tidy up control 1 register defines
Rename the bits of this register so they have association with the
register. Use the BIT macro to define the bits.
Add a macro to select the ADC mode and remove the magic value used
to stop conversion.
Reading the control 1 register starts an analog input conversion.
For aesthetics, remove the MC_ADC_START define and just use the
ME_CTRL1_REG define to read the register.
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')
0 files changed, 0 insertions, 0 deletions
