Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:tools-software:linux-drivers:iio-adc:adas1000 [24 Jul 2012 16:29] – [Evaluation Boards] Michael Hennerichresources:tools-software:linux-drivers:iio-adc:adas1000 [05 Dec 2015 14:48] (current) – Fix driver link Lars-Peter Clausen
Line 9: Line 9:
   * [[adi>EVAL-ADAS1000SDZ]]   * [[adi>EVAL-ADAS1000SDZ]]
  
 +===== Reference Circuits =====
 +
 +  * [[adi>CN0308]]
 ===== Description ===== ===== Description =====
  
Line 20: Line 23:
  
 ^ Source ^ Mainlined? ^ ^ Source ^ Mainlined? ^
-| [[git.linux.org>drivers/iio/adc/adas1000.c]] | In progress | +| [[linux.github>adas1000?drivers/iio/adc/adas1000.c|drivers/iio/adc/adas1000.c]] | [[git.linux.org>drivers/iio/adc/adas1000.c|In progress]] |
 ===== Files ===== ===== Files =====
  
 ^ Function ^ File ^ ^ Function ^ File ^
-| driver  | [[staging.kernel.org>drivers/iio/adc/adas1000.c]] | +| driver  | [[linux.github>adas1000?drivers/iio/adc/adas1000.c|drivers/iio/adc/adas1000.c]] | 
-| include | [[staging.kernel.org>include/linux/platform_data/adas1000.h]] | +| include | [[linux.github>adas1000?include/linux/platform_data/adas1000.h|include/linux/platform_data/adas1000.h]] |
 ====== Example platform device initialization ====== ====== Example platform device initialization ======
  
Line 98: Line 99:
 "make qconfig") "make qconfig")
  
-<note>+<WRAP round help>
 The ADAS1000 Driver depends on **CONFIG_SPI** The ADAS1000 Driver depends on **CONFIG_SPI**
-</note>+</WRAP>
  
 <code> <code>
Line 122: Line 123:
 {{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/**
Line 176: Line 177:
  
 root:/sys/devices/platform/bfin-spi.0/spi0.12/iio:device0> root:/sys/devices/platform/bfin-spi.0/spi0.12/iio:device0>
-</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/spi_master/spi0/spi0.18/iio:device0/> **cat name** root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0/> **cat name**
 adas1000 adas1000
-</xterm></box>+</xterm></WRAP>
  
 Contains the device name, this will always be "adas1000" for the adas1000 driver. Contains the device name, this will always be "adas1000" for the adas1000 driver.
Line 194: Line 195:
 Lists all available low pass filter frequencies, which may be set by writing to in_voltage-voltage_filter_low_pass_3db_frequency. Lists all available low pass filter frequencies, which may be set by writing to in_voltage-voltage_filter_low_pass_3db_frequency.
  
-<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.3/device0> **cat in_voltage-voltage_filter_low_pass_3db_frequency_available** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **cat in_voltage-voltage_filter_low_pass_3db_frequency_available**
 40 150 250 400 40 150 250 400
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
 === Set and show low filter frequency === === Set and show low filter frequency ===
Line 207: Line 208:
 Writing to this file will set the low pass filter frequency, reading from this file will show the currently selected low pass filter. Writing to this file will set the low pass filter frequency, reading from this file will show the currently selected low pass filter.
  
-<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.3/device0> **cat in_voltage-voltage_filter_low_pass_3db_frequency** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **cat in_voltage-voltage_filter_low_pass_3db_frequency**
Line 215: Line 216:
 250 250
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
-<note>The low pass filter will only be active when sampling with 2kHz base frequency.</note>+<WRAP round help>The low pass filter will only be active when sampling with 2kHz base frequency.</WRAP>
  
  === List available sampling frequencies ===  === List available sampling frequencies ===
Line 225: Line 226:
 Lists all available sampling frequencies, which may be set by writing to in_voltage-voltage_sampling_frequency. Lists all available sampling frequencies, which may be set by writing to in_voltage-voltage_sampling_frequency.
  
-<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.3/device0> **cat in_voltage-voltage_sampling_frequency_available** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **cat in_voltage-voltage_sampling_frequency_available**
 128000 64000 32000 16000 8000 4000 2000 1000 500 128000 64000 32000 16000 8000 4000 2000 1000 500
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
-<note>The only actuall supported sampling rates by the ADAS1000 are 128000, 16000 and 2000, all other sampling rates will be achieved by using a 2x or 4x decimation filter.</note>+<WRAP round help>The only actuall supported sampling rates by the ADAS1000 are 128000, 16000 and 2000, all other sampling rates will be achieved by using a 2x or 4x decimation filter.</WRAP>
  
 === Set and show filter frequency === === Set and show filter frequency ===
Line 240: Line 241:
 Writing to this file will set the sampling frequency, reading from the file will return the currently selected sampling frequency. Writing to this file will set the sampling frequency, reading from the file will return the currently selected sampling frequency.
  
-<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.3/device0> **cat in_voltage-voltage_sampling_frequency** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **cat in_voltage-voltage_sampling_frequency**
 4000 4000
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
    
 Setting a new sampling frequency can be done by writing to the file. Setting a new sampling frequency can be done by writing to the file.
  
-<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.3/device0> **echo 8000 > in_voltage-voltage_sampling_frequency** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **echo 8000 > in_voltage-voltage_sampling_frequency**
Line 255: Line 256:
 8000 8000
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
 === List available ADC gain values === === List available ADC gain values ===
Line 263: Line 264:
 List the available ADC gain settings, which can be set using in_voltage-voltage_scale. List the available ADC gain settings, which can be set using in_voltage-voltage_scale.
  
-<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.3/device0> **cat in_voltage-voltage_scale_available** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **cat in_voltage-voltage_scale_available**
 0.000019618 0.000013079 0.000009809 0.000006539 0.000019618 0.000013079 0.000009809 0.000006539
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
 === Set and ADC gain value === === Set and ADC gain value ===
Line 276: Line 277:
 Scale to be applied to in_voltageY-voltageZ_raw in order to obtain the measured voltage in millivolts. Scale to be applied to in_voltageY-voltageZ_raw in order to obtain the measured voltage in millivolts.
  
-<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.3/device0> **cat in_voltage-voltage_scale** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **cat in_voltage-voltage_scale**
Line 284: Line 285:
 0.000006539 0.000006539
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
 === Set ADC calibration gain === === Set ADC calibration gain ===
Line 299: Line 300:
 Set the channel calibration gain. Writing to these files will set the calibration gain for the respective channel. Valid values are in the range of -2048 to 2047. Set the channel calibration gain. Writing to these files will set the calibration gain for the respective channel. Valid values are in the range of -2048 to 2047.
  
-<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.3/device0> **echo 1020 > in_voltage0-voltage2_calibscale** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **echo 1020 > in_voltage0-voltage2_calibscale**
Line 305: Line 306:
 1020 1020
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
-<note> in_voltage0-voltage2_calibscale and in_voltage0-voltage5_calibscale, in_voltage1-voltage0_calibscale and in_voltage1-voltage5_calibscale, in_voltage1-voltage2_calibscale and in_voltage2-voltage5_calibscale refer to the same set of calibration data.</note>+<WRAP round help> in_voltage0-voltage2_calibscale and in_voltage0-voltage5_calibscale, in_voltage1-voltage0_calibscale and in_voltage1-voltage5_calibscale, in_voltage1-voltage2_calibscale and in_voltage2-voltage5_calibscale refer to the same set of calibration data.</WRAP>
  
 === List available Right Leg drive outputs === === List available Right Leg drive outputs ===
Line 315: Line 316:
 List available values for the rld_out_select file. List available values for the rld_out_select file.
  
-<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.3/device0> **cat rld_out_select_available** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **cat rld_out_select_available**
 rl la ll ra v1 v2 rl la ll ra v1 v2
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
 === Select Right Leg drive output electrode === === Select Right Leg drive output electrode ===
Line 328: Line 329:
 Set the Right Leg drive output electrode. Set the Right Leg drive output electrode.
  
-<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.3/device0> **echo rl > rld_out_select_available** root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> **echo rl > rld_out_select_available**
Line 334: Line 335:
 rl rl
 root:/sys/devices/platform/bfin-spi.0/spi0.3/device0> root:/sys/devices/platform/bfin-spi.0/spi0.3/device0>
-</xterm></box>+</xterm></WRAP>
  
 === Enable/Disable Right Leg drive output === === Enable/Disable Right Leg drive output ===
Line 342: Line 343:
 Enable or disable the Right Leg drive output. Writing a '0' to this file will enable the Right Leg drive, writing a '1' to this file will enable the Right Leg drive. Enable or disable the Right Leg drive output. Writing a '0' to this file will enable the Right Leg drive, writing a '1' to this file will enable the Right Leg drive.
  
-<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/spi_master/spi0/spi0.18/iio:device0> cat rld_powerdown root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat rld_powerdown
Line 349: Line 350:
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat rld_powerdown root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat rld_powerdown
 0 0
-</xterm></box>+</xterm></WRAP>
  
 === Setup Right Leg drive summing junction configuration === === Setup Right Leg drive summing junction configuration ===
Line 362: Line 363:
 Writing a '1' to a file will add the respective channel to the Right Leg driver summing junction, writing a '0' will remove it. Writing a '1' to a file will add the respective channel to the Right Leg driver summing junction, writing a '0' will remove it.
  
-<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/spi_master/spi0/spi0.18/iio:device0> cat rld_summing_junction_la_en root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat rld_summing_junction_la_en
Line 369: Line 370:
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat rld_summing_junction_v2_en root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat rld_summing_junction_v2_en
 1 1
-</xterm></box>+</xterm></WRAP>
  
 === Setup VCM summing junction configuration === === Setup VCM summing junction configuration ===
Line 382: Line 383:
 Writing a '1' to a file will add the respective channel to the VCM summing junction, writing a '0' will remove it. Writing a '1' to a file will add the respective channel to the VCM summing junction, writing a '0' will remove it.
  
-<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/spi_master/spi0/spi0.18/iio:device0> cat vcm_summing_junction_ra_en root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat vcm_summing_junction_ra_en
Line 389: Line 390:
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat vcm_summing_junction_ra_en root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat vcm_summing_junction_ra_en
 1 1
-</xterm></box>+</xterm></WRAP>
  
 === Enable/Disable shield driver === === Enable/Disable shield driver ===
Line 397: Line 398:
 Enable or disable the shield driver. Writing a '0' to this file will enable the shild driver, writing a '1' to this file will enable the shield driver. Enable or disable the shield driver. Writing a '0' to this file will enable the shild driver, writing a '1' to this file will enable the shield driver.
  
-<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/spi_master/spi0/spi0.18/iio:device0> cat shield_driver_powerdown root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat shield_driver_powerdown
Line 404: Line 405:
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat shield_driver_powerdown root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat shield_driver_powerdown
 0 0
-</xterm></box>+</xterm></WRAP>
  
 out_voltage6_calibration_offset out_voltage6_calibration_offset
Line 414: Line 415:
 Enable or disable the calibration DAC. Writing a '0' to this file will enable the calibration DAC, writing a '1' to this file will disable the calibration DAC. Enable or disable the calibration DAC. Writing a '0' to this file will enable the calibration DAC, writing a '1' to this file will disable the calibration DAC.
  
-<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/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_raw root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_raw
Line 421: Line 422:
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_raw root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_raw
 0 0
-</xterm></box>+</xterm></WRAP>
  
 === Set calibration DAC output value === === Set calibration DAC output value ===
Line 429: Line 430:
 Sets the calibration DAC output value. Valid values are in the range of 0-1023. Sets the calibration DAC output value. Valid values are in the range of 0-1023.
  
-<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/spi_master/spi0/spi0.18/iio:device0> echo 100 > out_voltage6_calibration_raw root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> echo 100 > out_voltage6_calibration_raw
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_raw root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_raw
 100 100
-</xterm></box>+</xterm></WRAP>
  
 === Show calibration DAC scale === === Show calibration DAC scale ===
Line 440: Line 441:
 out_voltage6_calibration_scale out_voltage6_calibration_scale
  
-<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/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_scale root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0> cat out_voltage6_calibration_scale
 0.002346 0.002346
-</xterm></box>+</xterm></WRAP>
  
 Vout = (out_voltage6_calibration_offset + out_voltage6_calibration_raw) * out_voltage6_calibration_scale Vout = (out_voltage6_calibration_offset + out_voltage6_calibration_raw) * out_voltage6_calibration_scale
Line 465: Line 466:
 Allows direct register access to the device. To write to a register write the register address and the register value seperated by a space to the file. Allows direct register access to the device. To write to a register write the register address and the register value seperated by a space to the file.
  
-<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/kernel/debug/iio/iio:device0> echo 0x12 0x17 > direct_reg_access root:/sys/kernel/debug/iio/iio:device0> echo 0x12 0x17 > direct_reg_access
-</xterm></box>+</xterm></WRAP>
  
 To read a register value, first write the register address to the file followed by a read. To read a register value, first write the register address to the file followed by a read.
  
-<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/kernel/debug/iio/iio:device0> echo 0x05 > direct_reg_access root:/sys/kernel/debug/iio/iio:device0> echo 0x05 > direct_reg_access
 root:/sys/kernel/debug/iio/iio:device0> cat direct_reg_access root:/sys/kernel/debug/iio/iio:device0> cat direct_reg_access
-</xterm></box>+</xterm></WRAP>
  
 === Check fuse CRC status === === Check fuse CRC status ===
Line 502: Line 503:
 Enable the testtone generator. Enable the testtone generator.
  
-<note>If both the testtone and the calibration DAC are enabled, the testtone will take precedence.</note>+<WRAP round help>If both the testtone and the calibration DAC are enabled, the testtone will take precedence.</WRAP>
  
 === Set testtone frequnecy === === Set testtone frequnecy ===
Line 527: Line 528:
 Enables or disables testtone output to the external CAL_DAC_IO pin. Enables or disables testtone output to the external CAL_DAC_IO pin.
  
-<note>The testtone signal will be routed to the CAL_DAC_IO pin by default and only if internal routing is enabled this switch will have an effect.</note>+<WRAP round help>The testtone signal will be routed to the CAL_DAC_IO pin by default and only if internal routing is enabled this switch will have an effect.</WRAP>
  
 === Enable testtone routing to individual ECG channels === === Enable testtone routing to individual ECG channels ===
Line 543: Line 544:
 The adas1000 driver will register a IIO trigger for the device. The trigger will be hooked up to the devices DATARDY IRQ. Normally you would want to use this trigger as the trigger for the device. The adas1000 driver will register a IIO trigger for the device. The trigger will be hooked up to the devices DATARDY IRQ. Normally you would want to use this trigger as the trigger for the device.
  
-<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/spi_master/spi0/spi0.18/iio:device0/> **echo adas1000-dev0 > trigger/current_trigger** root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0/> **echo adas1000-dev0 > trigger/current_trigger**
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0/> **cat trigger/current_trigger**  root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0/> **cat trigger/current_trigger** 
 adas1000-dev0 adas1000-dev0
-</xterm></box>+</xterm></WRAP>
  
 ===== Buffer management ===== ===== Buffer management =====
Line 554: Line 555:
 {{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/spi_master/spi0/spi0.18/iio:device0/scan_elements> **ls** root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0/scan_elements> **ls**
Line 570: Line 571:
 in_voltage1-voltage2_type   in_voltage4-voltage5_type in_voltage1-voltage2_type   in_voltage4-voltage5_type
 root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0/scan_elements> root:/sys/devices/platform/bfin-spi.0/spi_master/spi0/spi0.18/iio:device0/scan_elements>
-</xterm></box>+</xterm></WRAP>
  
 ^ Channel ^ Function ^ ^ Channel ^ Function ^
resources/tools-software/linux-drivers/iio-adc/adas1000.1343140154.txt.gz · Last modified: 24 Jul 2012 16:29 (external edit)