1 /*
2  * Copyright (c) 2019 Electronut Labs
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef _SI7006_H
8 #define _SI7006_H
9 
10 /* Si7006 register addresses */
11 #define SI7006_MEAS_REL_HUMIDITY_MASTER_MODE            0xE5
12 #define SI7006_MEAS_REL_HUMIDITY_NO_MASTER_MODE         0xF5
13 #define SI7006_MEAS_TEMP_MASTER_MODE                    0xE3
14 #define SI7006_MEAS_TEMP_NO_MASTER_MODE                 0xF3
15 #define SI7006_READ_OLD_TEMP                            0xE0
16 #define SI7006_RESET                                    0xFE
17 #define SI7006_WRITE_HUMIDITY_TEMP_CONTR                0xE6
18 #define SI7006_READ_HUMIDITY_TEMP_CONTR                 0xE7
19 #define SI7006_WRITE_HEATER_CONTR                       0x51
20 #define SI7006_READ_HEATER_CONTR                        0x11
21 #define SI7006_READ_ID_LOW_0                            0xFA
22 #define SI7006_READ_ID_LOW_1                            0x0F
23 #define SI7006_READ_ID_HIGH_0                           0xFC
24 #define SI7006_READ_ID_HIGH_1                           0xC9
25 #define SI7006_FIRMWARE_0                               0x84
26 #define SI7006_FIRMWARE_1                               0xB8
27 
28 #endif /* _SI7006_H */
29