tmp105_regs.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Texas Instruments TMP105 Temperature Sensor I2C messages
  3. *
  4. * Browse the data sheet:
  5. *
  6. * http://www.ti.com/lit/gpn/tmp105
  7. *
  8. * Copyright (C) 2012 Alex Horn <alex.horn@cs.ox.ac.uk>
  9. * Copyright (C) 2008-2012 Andrzej Zaborowski <balrogg@gmail.com>
  10. *
  11. * This work is licensed under the terms of the GNU GPL, version 2 or
  12. * later. See the COPYING file in the top-level directory.
  13. */
  14. #ifndef QEMU_TMP105_MSGS_H
  15. #define QEMU_TMP105_MSGS_H
  16. /**
  17. * TMP105Reg:
  18. * @TMP105_REG_TEMPERATURE: Temperature register
  19. * @TMP105_REG_CONFIG: Configuration register
  20. * @TMP105_REG_T_LOW: Low temperature register (also known as T_hyst)
  21. * @TMP105_REG_T_HIGH: High temperature register (also known as T_OS)
  22. *
  23. * The following temperature sensors are
  24. * compatible with the TMP105 registers:
  25. * - adt75
  26. * - ds1775
  27. * - ds75
  28. * - lm75
  29. * - lm75a
  30. * - max6625
  31. * - max6626
  32. * - mcp980x
  33. * - stds75
  34. * - tcn75
  35. * - tmp100
  36. * - tmp101
  37. * - tmp105
  38. * - tmp175
  39. * - tmp275
  40. * - tmp75
  41. **/
  42. typedef enum TMP105Reg {
  43. TMP105_REG_TEMPERATURE = 0,
  44. TMP105_REG_CONFIG,
  45. TMP105_REG_T_LOW,
  46. TMP105_REG_T_HIGH,
  47. } TMP105Reg;
  48. #endif