This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
resources:tools-software:linux-drivers:iio-dac:ad5758 [23 May 2018 11:20] – Show scale Stefan Popa | resources:tools-software:linux-drivers:iio-dac:ad5758 [15 Oct 2018 16:24] – Updated driver links with the mainline version Stefan Popa | ||
---|---|---|---|
Line 21: | Line 21: | ||
^ Source ^ Mainlined? ^ | ^ Source ^ Mainlined? ^ | ||
- | | [[https:// | + | | [[git.linux.org>drivers/ |
===== Files ===== | ===== Files ===== | ||
^ Function ^ File ^ | ^ Function ^ File ^ | ||
- | | driver | + | | driver |
===== Devicetree ===== | ===== Devicetree ===== | ||
Line 75: | Line 75: | ||
root:/ | root:/ | ||
-r--r--r-- 1 root root 4096 May 23 09:14 dev | -r--r--r-- 1 root root 4096 May 23 09:14 dev | ||
- | -rw-r--r-- 1 root root 4096 May 23 09:14 in_voltage0_powerdown | + | -rw-r--r-- 1 root root 4096 May 23 09:14 out_voltage0_powerdown |
- | -rw-r--r-- 1 root root 4096 May 23 09:14 in_voltage0_raw | + | -rw-r--r-- 1 root root 4096 May 23 09:14 out_voltage0_raw |
- | -rw-r--r-- 1 root root 4096 May 23 09:14 in_voltage_scale | + | -rw-r--r-- 1 root root 4096 May 23 09:14 out_voltage_scale |
-r--r--r-- 1 root root 4096 May 23 09:14 name | -r--r--r-- 1 root root 4096 May 23 09:14 name | ||
drwxr-xr-x 2 root root 0 May 23 09:14 power | drwxr-xr-x 2 root root 0 May 23 09:14 power | ||
Line 102: | Line 102: | ||
0.152587890 | 0.152587890 | ||
</ | </ | ||
+ | |||
+ | === Set channel 0 output voltage === | ||
+ | |||
+ | **Description: | ||
+ | / | ||
+ | |||
+ | Raw (unscaled, no bias etc.) output voltage for | ||
+ | channel 0. | ||
+ | |||
+ | |||
+ | <WRAP box bggreen>< | ||
+ | < | ||
+ | root:/ | ||
+ | </ | ||
+ | |||
+ | **U** = // | ||
+ | |||
+ | === Enable power down mode on output 0 === | ||
+ | |||
+ | / | ||
+ | |||
+ | **Description: | ||
+ | Writing 1 causes output 0 to enter the power down mode. Clearing returns to | ||
+ | normal operation. | ||
+ | |||
+ | <WRAP box bggreen>< | ||
+ | < | ||
+ | root:/ | ||
+ | root:/ | ||
+ | 1 | ||
+ | root:/ | ||
+ | root:/ | ||
+ | 0 | ||
+ | </ | ||
+ | |||
+ | ====== More Information ====== | ||
+ | |||
+ | {{page> | ||