Add qemu 2.4.0
[kvmfornfv.git] / qemu / include / hw / misc / tmp105_regs.h
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 /**
18  * TMP105Reg:
19  * @TMP105_REG_TEMPERATURE: Temperature register
20  * @TMP105_REG_CONFIG: Configuration register
21  * @TMP105_REG_T_LOW: Low temperature register (also known as T_hyst)
22  * @TMP105_REG_T_HIGH: High temperature register (also known as T_OS)
23  *
24  * The following temperature sensors are
25  * compatible with the TMP105 registers:
26  * - adt75
27  * - ds1775
28  * - ds75
29  * - lm75
30  * - lm75a
31  * - max6625
32  * - max6626
33  * - mcp980x
34  * - stds75
35  * - tcn75
36  * - tmp100
37  * - tmp101
38  * - tmp105
39  * - tmp175
40  * - tmp275
41  * - tmp75
42  **/
43 typedef enum TMP105Reg {
44     TMP105_REG_TEMPERATURE = 0,
45     TMP105_REG_CONFIG,
46     TMP105_REG_T_LOW,
47     TMP105_REG_T_HIGH,
48 } TMP105Reg;
49
50 #endif