diff options
author | Akinobu Mita <[email protected]> | 2016-01-08 00:40:30 +0900 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2016-01-16 13:04:05 +0000 |
commit | 4ea71e5cee8ad52407ee95c3548d0887eedae301 (patch) | |
tree | 4e5bb7df6d56631f15c27b53a992bfac6236b897 /drivers/fpga/fpga-mgr.c | |
parent | b9cd7a254d17dac8098517afdebdac482e59aec4 (diff) |
iio: adc: mcp320x: support more differential voltage measurement
mcp320x driver supports the pseudo-differential mode by
in_voltage'IN+'-voltage'IN-'_raw where (IN+, IN-) = (0, 1), (2, 3), ...
mcp320x chips except MCP3X01 can also select swapped IN+ and IN-
pairs in the pseudo-differential mode.
i.e. in_voltage'IN+'-voltage'IN-'_raw where (IN+, IN-) = (1, 0),
(3, 2), ...
If the voltage level of IN+ is equal to or less than IN-, the
resultant code will be 000h. So it is useful to provide these, too.
Signed-off-by: Akinobu Mita <[email protected]>
Cc: Oskar Andero <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Hartmut Knaack <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Peter Meerwald <[email protected]>
Cc: [email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions