Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
humid_sht_i2c.h
Go to the documentation of this file.
1 #ifndef HUMID_SHT_I2C_H
2 #define HUMID_SHT_I2C_H
3 
4 #include "std.h"
5 
6 #define SHT2_WRITE_USER 0xE6
7 #define SHT2_READ_USER 0xE7
8 #define SHT2_TRIGGER_TEMP 0xF3
9 #define SHT2_TRIGGER_HUMID 0xF5
10 #define SHT2_SOFT_RESET 0xFE
11 
27 };
28 
29 int8_t humid_sht_crc(volatile uint8_t *data);
30 void humid_sht_init_i2c(void);
31 void humid_sht_periodic_i2c(void);
32 void humid_sht_p_temp(void);
33 void humid_sht_p_humid(void);
34 void humid_sht_event_i2c(void);
35 
38 
39 #endif
uint16_t tempsht_i2c
Definition: humid_sht_i2c.h:36
void humid_sht_periodic_i2c(void)
Definition: humid_sht_i2c.c:76
void humid_sht_p_temp(void)
int8_t humid_sht_crc(volatile uint8_t *data)
Definition: humid_sht_i2c.c:50
void humid_sht_p_humid(void)
sht_stat_i2c
Definition: humid_sht_i2c.h:12
@ SHT2_SERIAL2
Definition: humid_sht_i2c.h:18
@ SHT2_READ_TEMP
Definition: humid_sht_i2c.h:23
@ SHT2_RESET
Definition: humid_sht_i2c.h:15
@ SHT2_SERIAL
Definition: humid_sht_i2c.h:16
@ SHT2_GET_TEMP
Definition: humid_sht_i2c.h:22
@ SHT2_SET_CONFIG
Definition: humid_sht_i2c.h:19
@ SHT2_TRIG_TEMP
Definition: humid_sht_i2c.h:21
@ SHT2_UNINIT
Definition: humid_sht_i2c.h:13
@ SHT2_READ_SERIAL
Definition: humid_sht_i2c.h:20
@ SHT2_READ_HUMID
Definition: humid_sht_i2c.h:26
@ SHT2_GET_HUMID
Definition: humid_sht_i2c.h:25
@ SHT2_IDLE
Definition: humid_sht_i2c.h:14
@ SHT2_TRIG_HUMID
Definition: humid_sht_i2c.h:24
@ SHT2_SERIAL1
Definition: humid_sht_i2c.h:17
void humid_sht_event_i2c(void)
void humid_sht_init_i2c(void)
Definition: humid_sht_i2c.c:71
float ftempsht_i2c
Definition: humid_sht_i2c.h:37
uint16_t humidsht_i2c
Definition: humid_sht_i2c.c:47
float fhumidsht_i2c
Definition: humid_sht_i2c.c:48
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98
signed char int8_t
Typedef defining 8 bit char type.
Definition: vl53l1_types.h:103