Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
resources:tools-software:linux-drivers:iio-accelerometer:adis16209 [05 Sep 2012 11:38] – change source git repo Michael Hennerich | resources:tools-software:linux-drivers:iio-accelerometer:adis16209 [03 Jan 2013 20:42] – external edit |
---|
===== Evaluation Boards ===== | ===== Evaluation Boards ===== |
| |
* [[adi>ADIS16209/PCBZ]] | * [[adi>EVAL-ADIS16209|ADIS16209/PCBZ]] |
===== Description ===== | ===== Description ===== |
| |
"make qconfig") | "make qconfig") |
| |
<note> | <WRAP round help> |
The ADIS16209 Driver depends on **CONFIG_SPI** | The ADIS16209 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 02:58 trigger | drwxr-xr-x 2 root root 0 Jan 4 02:58 trigger |
-rw-r--r-- 1 root root 4096 Jan 4 02:58 uevent | -rw-r--r-- 1 root root 4096 Jan 4 02:58 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** |
adis16209 | adis16209 |
</xterm></box> | </xterm></WRAP> |
| |
=== ADIS16209 device attributes === | === ADIS16209 device attributes === |
===== Trigger management ===== | ===== Trigger management ===== |
| |
<note> | <WRAP round help> |
This driver only supports it's own default trigger source **adis16209-dev0** | This driver only supports it's own default trigger source **adis16209-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** |
adis16209-dev0 | adis16209-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_accel_y_type in_rot0_en in_timestamp_index in_voltage1_type | in_accel_y_type in_rot0_en in_timestamp_index in_voltage1_type |
in_incli_x_en in_rot0_index in_timestamp_type | in_incli_x_en in_rot0_index in_timestamp_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}} |