ads1015.txt 780 B

1234567891011121314151617181920212223242526272829
  1. ADS1015 (I2C)
  2. This device is a 12-bit A-D converter with 4 inputs.
  3. The inputs can be used single ended or in certain differential combinations.
  4. For configuration all possible combinations are mapped to 8 channels:
  5. 0: Voltage over AIN0 and AIN1.
  6. 1: Voltage over AIN0 and AIN3.
  7. 2: Voltage over AIN1 and AIN3.
  8. 3: Voltage over AIN2 and AIN3.
  9. 4: Voltage over AIN0 and GND.
  10. 5: Voltage over AIN1 and GND.
  11. 6: Voltage over AIN2 and GND.
  12. 7: Voltage over AIN3 and GND.
  13. Optional properties:
  14. - exported-channels : exported_channels is a bitmask that specifies which
  15. channels should be accessable by the user.
  16. Example:
  17. ads1015@49 {
  18. compatible = "ti,ads1015";
  19. reg = <0x49>;
  20. exported-channels = <0x14>;
  21. };
  22. In this example only channel 2 and 4 would be accessable by the user.