shtc1.rst 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Kernel driver shtc1
  2. ===================
  3. Supported chips:
  4. * Sensirion SHTC1
  5. Prefix: 'shtc1'
  6. Addresses scanned: none
  7. Datasheet: https://www.sensirion.com/file/datasheet_shtc1
  8. * Sensirion SHTW1
  9. Prefix: 'shtw1'
  10. Addresses scanned: none
  11. Datasheet: https://www.sensirion.com/file/datasheet_shtw1
  12. * Sensirion SHTC3
  13. Prefix: 'shtc3'
  14. Addresses scanned: none
  15. Datasheet: https://www.sensirion.com/file/datasheet_shtc3
  16. Author:
  17. Johannes Winkelmann <[email protected]>
  18. Description
  19. -----------
  20. This driver implements support for the Sensirion SHTC1, SHTW1, and SHTC3
  21. chips, a humidity and temperature sensor. Temperature is measured in degrees
  22. celsius, relative humidity is expressed as a percentage.
  23. The device communicates with the I2C protocol. All sensors are set to I2C
  24. address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
  25. instantiate the device.
  26. There are two options configurable by means of shtc1_platform_data:
  27. 1. blocking (pull the I2C clock line down while performing the measurement) or
  28. non-blocking mode. Blocking mode will guarantee the fastest result but
  29. the I2C bus will be busy during that time. By default, non-blocking mode
  30. is used. Make sure clock-stretching works properly on your device if you
  31. want to use blocking mode.
  32. 2. high or low accuracy. High accuracy is used by default and using it is
  33. strongly recommended.
  34. sysfs-Interface
  35. ---------------
  36. temp1_input
  37. - temperature input
  38. humidity1_input
  39. - humidity input