42 #define SHT_USE_INTERRUPT 0
45 #define SHT3X_MAXDLEN 6
47 #define SHT3X_ADDLEN 3
50 #define MIKROSDK_SHT_ON 1
51 #define MIKROSDK_SHT_OFF 0
54 #define SHT_CMD_WR_LO_SET 0x6100
55 #define SHT_CMD_WR_LO_CLR 0x610B
56 #define SHT_CMD_WR_HI_SET 0x611D
57 #define SHT_CMD_WR_HI_CLR 0x6116
58 #define SHT_CMD_RD_LO_SET 0xE102
59 #define SHT_CMD_RD_LO_CLR 0xE109
60 #define SHT_CMD_RD_HI_SET 0xE11F
61 #define SHT_CMD_RD_HI_CLR 0xE114
77 #define SHT_LIMIT_H_HI 5500
78 #define SHT_LIMIT_H_LO 2000
79 #define SHT_LIMIT_T_HI 6000
80 #define SHT_LIMIT_T_LO -1000
81 #define SHT_LIMIT_H_HYS 200
82 #define SHT_LIMIT_T_HYS 200
uint8_t MIKROSDK_SHT_set_lo_alert_limits(int16_t h_set, int16_t h_clr, int16_t t_set, int16_t t_clr)
Definition: sht.c:462
uint8_t MIKROSDK_SHT_Initialise(void)
Definition: sht.c:569
uint8_t MIKROSDK_SHT_Reinitialise(void)
Definition: sht.c:615
uint8_t MIKROSDK_SHT_get_temp_hum_ss(int16_t *humidity, int16_t *temperature)
Definition: sht.c:346
uint8_t MIKROSDK_SHT_soft_reset(void)
Definition: sht.c:410
sht_alarm_state
Definition: sht_click.h:68
@ SHT_ALARM_CLEARED
Definition: sht_click.h:70
@ SHT_ALARM_TRIGGERED
Definition: sht_click.h:69
@ SHT_ALARM_NOALARM
Definition: sht_click.h:71
uint8_t MIKROSDK_SHT_get_lo_alert_limits(int16_t *h_set, int16_t *h_clr, int16_t *t_set, int16_t *t_clr)
Definition: sht.c:520
uint8_t MIKROSDK_SHT_clear_status(void)
Definition: sht.c:390
void MIKROSDK_SHT_pin_mapping(uint8_t reset, uint8_t alarm)
Definition: sht.c:562
void MIKROSDK_SHT_config(void)
Definition: sht.c:419
uint8_t MIKROSDK_SHT_get_temp_hum_pm(int16_t *humidity, int16_t *temperature)
Definition: sht.c:331
uint8_t MIKROSDK_SHT_heater_control(uint8_t state)
Definition: sht.c:359
void MIKROSDK_SHT_hard_reset(void)
Definition: sht.c:401
uint8_t MIKROSDK_SHT_set_hi_alert_limits(int16_t h_set, int16_t h_clr, int16_t t_set, int16_t t_clr)
Definition: sht.c:429
uint8_t MIKROSDK_SHT_read_status(uint16_t *statusregister)
Definition: sht.c:377
uint8_t MIKROSDK_SHT_Acquire(int16_t *humidity, int16_t *temperature)
Definition: sht.c:625
uint8_t MIKROSDK_SHT_get_hi_alert_limits(int16_t *h_set, int16_t *h_clr, int16_t *t_set, int16_t *t_clr)
Definition: sht.c:495
uint8_t MIKROSDK_SHT_alarm_triggered(void)
Definition: sht.c:543
uint8_t MIKROSDK_SHT_stop_pm(void)
Definition: sht.c:318
uint8_t MIKROSDK_SHT_start_pm(void)
Definition: sht.c:307
uint8_t MIKROSDK_SHT_get_alarm(void)
Definition: sht.c:551
sht_status
Definition: sht_click.h:86
@ SHT_ST_OK
Definition: sht_click.h:87
@ SHT_ST_ALARM_CLEARED
Definition: sht_click.h:88
@ SHT_ST_ALARM_TRIGGERED
Definition: sht_click.h:89
@ SHT_ST_FAIL
Definition: sht_click.h:90