blob: d583c9265e62b1f1db13a02ee6ce5449c43b8e23 [file] [log] [blame]
/*
* Copyright (c) 2019 Electronut Labs
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _SI7006_H
#define _SI7006_H
/* Si7006 register addresses */
#define SI7006_MEAS_REL_HUMIDITY_MASTER_MODE 0xE5
#define SI7006_MEAS_REL_HUMIDITY_NO_MASTER_MODE 0xF5
#define SI7006_MEAS_TEMP_MASTER_MODE 0xE3
#define SI7006_MEAS_TEMP_NO_MASTER_MODE 0xF3
#define SI7006_READ_OLD_TEMP 0xE0
#define SI7006_RESET 0xFE
#define SI7006_WRITE_HUMIDITY_TEMP_CONTR 0xE6
#define SI7006_READ_HUMIDITY_TEMP_CONTR 0xE7
#define SI7006_WRITE_HEATER_CONTR 0x51
#define SI7006_READ_HEATER_CONTR 0x11
#define SI7006_READ_ID_LOW_0 0xFA
#define SI7006_READ_ID_LOW_1 0x0F
#define SI7006_READ_ID_HIGH_0 0xFC
#define SI7006_READ_ID_HIGH_1 0xC9
#define SI7006_FIRMWARE_0 0x84
#define SI7006_FIRMWARE_1 0xB8
#endif /* _SI7006_H */