Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
sht_drv.h File Reference

This file contains API for SHT Click driver. More...

#include "drv_digital_in.h"
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
Include dependency graph for sht_drv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  drv_variables_t
 
struct  sht_t
 Click ctx object definition. More...
 
struct  sht_cfg_t
 Click configuration structure definition. More...
 

Macros

#define SHT_I2C_ADDR0   0x44
 
#define SHT_I2C_ADDR1   0x45
 
#define SHT_MPS_05   0x20
 
#define SHT_MPS_1   0x21
 
#define SHT_MPS_2   0x22
 
#define SHT_MPS_4   0x23
 
#define SHT_MPS_10   0x27
 
#define SHT_RPT_HIGH   0
 
#define SHT_RPT_MEDIUM   1
 
#define SHT_RPT_LOW   2
 
#define SHT_STR_ENABLE   0x2C
 
#define SHT_STR_DISABLE   0x24
 
#define SHT_CRC_POLYNOMIAL   0x31
 
#define SHT_FETCH_DATA   0xE000
 
#define SHT_PERIODIC_ART   0x2B32
 
#define SHT_BREAK   0x3093
 
#define SHT_SOFT_RESET   0x30A2
 
#define SHT_HEATER   0x30
 
#define SHT_READ_STATUS   0xF32D
 
#define SHT_CLEAR_STATUS1   0x3041
 

Detailed Description

This file contains API for SHT Click driver.