diff options
author | 2012-08-10 17:36:00 +0100 | |
---|---|---|
committer | 2012-08-16 20:24:34 +0100 | |
commit | e83539092c390c95e30b0d9e434709f195340f80 (patch) | |
tree | 56c354cffcc711f98c9c4ef04ed0f755143069e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging:iio:ad7793: Add missing break in switch statement (diff) | |
download | linux-dev-e83539092c390c95e30b0d9e434709f195340f80.tar.xz linux-dev-e83539092c390c95e30b0d9e434709f195340f80.zip |
staging:iio:ad7793: 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions