This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
resources:tools-software:linux-drivers:iio-adc:ad7768 [05 Jul 2018 14:46] Stefan Popa added dt bindings |
resources:tools-software:linux-drivers:iio-adc:ad7768 [05 Jul 2018 15:07] (current) Stefan Popa More Information |
||
---|---|---|---|
Line 28: | Line 28: | ||
| driver | [[linux.github>master/drivers/iio/adc/ad7768.c]] | | | driver | [[linux.github>master/drivers/iio/adc/ad7768.c]] | | ||
| devicetree bindings | [[linux.github>master?Documentation/devicetree/bindings/iio/adc/adi,ad7768.txt | Documentation/devicetree/bindings/iio/adc/adi,ad7768.txt]] | | | devicetree bindings | [[linux.github>master?Documentation/devicetree/bindings/iio/adc/adi,ad7768.txt | Documentation/devicetree/bindings/iio/adc/adi,ad7768.txt]] | | ||
+ | | hdl project | [[https://github.com/analogdevicesinc/hdl/tree/hdl_2017_r1/projects/ad7768evb | hdl]] | | ||
====== Example Linux Device-Tree Initialization ====== | ====== Example Linux Device-Tree Initialization ====== | ||
Line 80: | Line 81: | ||
</xterm></WRAP> | </xterm></WRAP> | ||
+ | === Show scale === | ||
+ | |||
+ | **Description:**\\ | ||
+ | scale to be applied to in_voltage0_raw in order to obtain the measured voltage in millivolts. | ||
+ | |||
+ | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> | ||
+ | <xterm> | ||
+ | root:/sys/bus/iio/devices/iio:device0> **cat in_voltage_scale ** | ||
+ | 0.000488281 | ||
+ | </xterm></WRAP> | ||
+ | |||
+ | ====== More Information ====== | ||
+ | |||
+ | {{page>software:linux:docs:iio:iio_snippets#iio pointers&noheader&firstseconly&noeditbtn}} |