Register definitions for ST HTS221 devices. More...
Register definitions for ST HTS221 devices.
Definition in file hts221_regs.h.
Go to the source code of this file.
Macros | |
#define | HTS221_REGS_AVGT_SHIFT (3U) |
Shift for AVG oftemperature configuration set in HTS221_REGS_AV_CONF. More... | |
Register Map | |
#define | HTS221_REGS_WHO_AM_I (0x0F) |
#define | HTS221_REGS_AV_CONF (0x10) |
#define | HTS221_REGS_CTRL_REG1 (0x20) |
#define | HTS221_REGS_CTRL_REG2 (0x21) |
#define | HTS221_REGS_CTRL_REG3 (0x22) |
data ready output signal | |
#define | HTS221_REGS_STATUS_REG (0x27) |
#define | HTS221_REGS_HUMIDITY_OUT_L (0x28) |
#define | HTS221_REGS_HUMIDITY_OUT_H (0x29) |
#define | HTS221_REGS_TEMP_OUT_L (0x2A) |
#define | HTS221_REGS_TEMP_OUT_H (0x2B) |
Config bits of HTS221_REGS_CTRL_REG1 | |
#define | HTS221_REGS_CTRL_REG1_PD_ACTIVE (1 << 7) |
power-down control, set active mode | |
#define | HTS221_REGS_CTRL_REG1_BDU (1 << 2) |
Block data update. | |
Config bits of HTS221_REGS_CTRL_REG2 | |
#define | HTS221_REGS_CTRL_REG2_BOOT (1 << 7) |
Reboot memory content. | |
#define | HTS221_REGS_CTRL_REG2_HEATER (1 << 1) |
Heater ON. | |
#define | HTS221_REGS_CTRL_REG2_OS_EN (1 << 0) |
One-shot enable, start new dataset. | |
Data ready config bits of HTS221_REGS_CTRL_REG3 | |
#define | HTS221_REGS_CTRL_REG3_DRDY_HL (1 << 7) |
Data Ready output signal active high, low. | |
#define | HTS221_REGS_CTRL_REG3_PP_OD (1 << 6) |
Push-pull / Open Drain selection on pin 3. | |
#define | HTS221_REGS_CTRL_REG3_DRDY_EN (1 << 2) |
Data Ready enable. | |
Status bits to check data availability, HTS221_REGS_STATUS_REG[1:0] | |
#define | HTS221_REGS_STATUS_REG_TDA (1 << 0) |
temperature data available | |
#define | HTS221_REGS_STATUS_REG_HDA (1 << 1) |
humidity data available | |
#define HTS221_REGS_AVGT_SHIFT (3U) |
Shift for AVG oftemperature configuration set in HTS221_REGS_AV_CONF.
Register HTS221_REGS_AV_CONF= [7:6] reserved, [5:3] AVGT2-0, [2:0] AVGH2-0
Definition at line 70 of file hts221_regs.h.