38 #include "drv_digital_in.h"
39 #include "drv_digital_out.h"
40 #include "drv_i2c_master.h"
42 #define SHT_I2C_ADDR0 0x44
43 #define SHT_I2C_ADDR1 0x45
50 #define SHT_MPS_05 0x20
51 #define SHT_MPS_1 0x21
52 #define SHT_MPS_2 0x22
53 #define SHT_MPS_4 0x23
54 #define SHT_MPS_10 0x27
62 #define SHT_RPT_HIGH 0
63 #define SHT_RPT_MEDIUM 1
66 #define SHT_STR_ENABLE 0x2C
67 #define SHT_STR_DISABLE 0x24
75 #define SHT_CRC_POLYNOMIAL 0x31
76 #define SHT_FETCH_DATA 0xE000
77 #define SHT_PERIODIC_ART 0x2B32
78 #define SHT_BREAK 0x3093
79 #define SHT_SOFT_RESET 0x30A2
80 #define SHT_HEATER 0x30
81 #define SHT_READ_STATUS 0xF32D
82 #define SHT_CLEAR_STATUS1 0x3041
uint8_t clk_stretching
Definition: sht_drv.h:94
uint8_t repeatability
Definition: sht_drv.h:95
uint8_t mps
Definition: sht_drv.h:96
Click configuration structure definition.
Definition: sht_drv.h:130
pin_name_t int_pin
Definition: sht_drv.h:139
pin_name_t sda
Definition: sht_drv.h:134
pin_name_t scl
Definition: sht_drv.h:133
uint32_t i2c_speed
Definition: sht_drv.h:143
pin_name_t rst
Definition: sht_drv.h:138
drv_variables_t vars_cfg
Definition: sht_drv.h:148
uint8_t i2c_address
Definition: sht_drv.h:144
Click ctx object definition.
Definition: sht_drv.h:104
digital_in_t int_pin
Definition: sht_drv.h:110
i2c_master_t i2c
Definition: sht_drv.h:114
drv_variables_t vars
Definition: sht_drv.h:122
uint8_t slave_address
Definition: sht_drv.h:118
digital_out_t rst
Definition: sht_drv.h:107