Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 
37 extern float fhumidsht_i2c, ftempsht_i2c;
38 
39 #endif
unsigned short uint16_t
Definition: types.h:16
void humid_sht_init_i2c(void)
Definition: humid_sht_i2c.c:71
float ftempsht_i2c
Definition: humid_sht_i2c.c:48
void humid_sht_p_temp(void)
sht_stat_i2c
Definition: humid_sht_i2c.h:12
void humid_sht_periodic_i2c(void)
Definition: humid_sht_i2c.c:76
void humid_sht_event_i2c(void)
uint16_t tempsht_i2c
Definition: humid_sht_i2c.c:47
unsigned char uint8_t
Definition: types.h:14
void humid_sht_p_humid(void)
int8_t humid_sht_crc(volatile uint8_t *data)
Definition: humid_sht_i2c.c:50
signed char int8_t
Definition: types.h:15
uint16_t humidsht_i2c
Definition: humid_sht_i2c.c:47
float fhumidsht_i2c
Definition: humid_sht_i2c.c:48