Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
resources:tools-software:linux-drivers:iio-accelerometer:adis16203 [15 Nov 2012 19:46] – [Evaluation Boards] fix link Lars-Peter Clausen | resources:tools-software:linux-drivers:iio-accelerometer:adis16203 [03 Jan 2013 20:42] – external edit |
---|
"make qconfig") | "make qconfig") |
| |
<note> | <WRAP round help> |
The ADIS16203 Driver depends on **CONFIG_SPI** | The ADIS16203 Driver depends on **CONFIG_SPI** |
</note> | </WRAP> |
| |
<code> | <code> |
{{page>software:linux:docs:iio:iio_snippets#iio device files&noheader&firstseconly&noeditbtn}} | {{page>software:linux:docs:iio:iio_snippets#iio device files&noheader&firstseconly&noeditbtn}} |
| |
<box 100% green|shell prompt running on the target> | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> |
<xterm> | <xterm> |
root:/> **cd /sys/bus/iio/devices/** | root:/> **cd /sys/bus/iio/devices/** |
drwxr-xr-x 2 root root 0 Jan 4 04:50 trigger | drwxr-xr-x 2 root root 0 Jan 4 04:50 trigger |
-rw-r--r-- 1 root root 4096 Jan 4 04:50 uevent | -rw-r--r-- 1 root root 4096 Jan 4 04:50 uevent |
</xterm></box> | </xterm></WRAP> |
| |
=== Show device name === | === Show device name === |
| |
<box 100% green|shell prompt running on the target> | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> |
<xterm> | <xterm> |
root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0> **cat name** | root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0> **cat name** |
adis16203 | adis16203 |
</xterm></box> | </xterm></WRAP> |
| |
=== ADIS16203 device attributes === | === ADIS16203 device attributes === |
===== Trigger management ===== | ===== Trigger management ===== |
| |
<note> | <WRAP round help> |
This driver only supports it's own default trigger source **adis16203-dev0** | This driver only supports it's own default trigger source **adis16203-dev0** |
</note> | </WRAP> |
| |
<box 100% green|shell prompt running on the target> | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> |
<xterm> | <xterm> |
root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0> **cat trigger/current_trigger** | root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0> **cat trigger/current_trigger** |
adis16203-dev0 | adis16203-dev0 |
</xterm></box> | </xterm></WRAP> |
| |
===== Buffer management ===== | ===== Buffer management ===== |
| |
<box 100% green|shell prompt running on the target> | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> |
<xterm> | <xterm> |
root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0/buffer> **ls** | root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0/buffer> **ls** |
**bytes_per_datum** **enable** **length** | **bytes_per_datum** **enable** **length** |
</xterm></box> | </xterm></WRAP> |
| |
{{page>software:linux:docs:iio:iio_snippets#Buffer management&noheader&firstseconly&noeditbtn}} | {{page>software:linux:docs:iio:iio_snippets#Buffer management&noheader&firstseconly&noeditbtn}} |
| |
<box 100% green|shell prompt running on the target> | <WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> |
<xterm> | <xterm> |
root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0/scan_elements>**ls** | root:/sys/devices/platform/bfin-spi.0/spi0.5/iio:device0/scan_elements>**ls** |
in_incli_y_index in_timestamp_index in_voltage1_index | in_incli_y_index in_timestamp_index in_voltage1_index |
in_incli_y_type in_timestamp_type in_voltage1_type | in_incli_y_type in_timestamp_type in_voltage1_type |
</xterm></box> | </xterm></WRAP> |
| |
{{page>software:linux:docs:iio:iio_snippets#Typical ADC scan elements&noheader&firstseconly&noeditbtn}} | {{page>software:linux:docs:iio:iio_snippets#Typical ADC scan elements&noheader&firstseconly&noeditbtn}} |