sysfs-bus-iio-adc-ad7192 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. What: /sys/bus/iio/devices/iio:deviceX/ac_excitation_en
  2. KernelVersion:
  3. Contact: linux-iio@vger.kernel.org
  4. Description:
  5. This attribute, if available, is used to enable the AC
  6. excitation mode found on some converters. In ac excitation mode,
  7. the polarity of the excitation voltage is reversed on
  8. alternate cycles, to eliminate DC errors.
  9. What: /sys/bus/iio/devices/iio:deviceX/bridge_switch_en
  10. KernelVersion:
  11. Contact: linux-iio@vger.kernel.org
  12. Description:
  13. This attribute, if available, is used to close or open the
  14. bridge power down switch found on some converters.
  15. In bridge applications, such as strain gauges and load cells,
  16. the bridge itself consumes the majority of the current in the
  17. system. To minimize the current consumption of the system,
  18. the bridge can be disconnected (when it is not being used
  19. using the bridge_switch_en attribute.
  20. What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration
  21. KernelVersion:
  22. Contact: linux-iio@vger.kernel.org
  23. Description:
  24. Initiates the system calibration procedure. This is done on a
  25. single channel at a time. Write '1' to start the calibration.
  26. What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
  27. KernelVersion:
  28. Contact: linux-iio@vger.kernel.org
  29. Description:
  30. Measure voltage from AIN2 pin connected to AIN(+)
  31. and AIN(-) shorted.
  32. What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available
  33. KernelVersion:
  34. Contact: linux-iio@vger.kernel.org
  35. Description:
  36. Reading returns a list with the possible calibration modes.
  37. There are two available options:
  38. "zero_scale" - calibrate to zero scale
  39. "full_scale" - calibrate to full scale
  40. What: /sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode
  41. KernelVersion:
  42. Contact: linux-iio@vger.kernel.org
  43. Description:
  44. Sets up the calibration mode used in the system calibration
  45. procedure. Reading returns the current calibration mode.
  46. Writing sets the system calibration mode.