diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-08-10 17:36:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-16 20:24:36 +0100 |
commit | a684a0c711d384665b43f9079a035e52a2761eab (patch) | |
tree | cb315410e43a48f94b71ebc0d85e6ad0bec388a5 /drivers/uwb/drp-avail.c | |
parent | 74aa933894e1c32376a8372ec8264b8c6f7faf24 (diff) |
staging:iio:ad7192: Mark channels as unsigned
The values reported by the AD7793 are unsigned.
In uniploar mode:
0x000000 is zeroscale
0xffffff is fullscale
In bipolar mode:
0x000000 is negative fullscale
0x800000 is zeroscale
0xffffff is positive fullscale
In bipolar mode there is a binary offset, but the values are still unsigned.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/uwb/drp-avail.c')
0 files changed, 0 insertions, 0 deletions