Paparazzi UAS  v5.18.0_stable
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
SHT2_TRIG_TEMP
@ SHT2_TRIG_TEMP
Definition: humid_sht_i2c.h:21
uint16_t
unsigned short uint16_t
Definition: types.h:16
SHT2_UNINIT
@ SHT2_UNINIT
Definition: humid_sht_i2c.h:13
humid_sht_init_i2c
void humid_sht_init_i2c(void)
Definition: humid_sht_i2c.c:71
humid_sht_p_temp
void humid_sht_p_temp(void)
Definition: humid_sht_i2c.c:111
SHT2_GET_TEMP
@ SHT2_GET_TEMP
Definition: humid_sht_i2c.h:22
fhumidsht_i2c
float fhumidsht_i2c
Definition: humid_sht_i2c.c:48
humid_sht_crc
int8_t humid_sht_crc(volatile uint8_t *data)
Definition: humid_sht_i2c.c:50
tempsht_i2c
uint16_t tempsht_i2c
Definition: humid_sht_i2c.h:36
SHT2_SET_CONFIG
@ SHT2_SET_CONFIG
Definition: humid_sht_i2c.h:19
SHT2_READ_HUMID
@ SHT2_READ_HUMID
Definition: humid_sht_i2c.h:26
std.h
SHT2_SERIAL1
@ SHT2_SERIAL1
Definition: humid_sht_i2c.h:17
SHT2_SERIAL
@ SHT2_SERIAL
Definition: humid_sht_i2c.h:16
SHT2_GET_HUMID
@ SHT2_GET_HUMID
Definition: humid_sht_i2c.h:25
uint8_t
unsigned char uint8_t
Definition: types.h:14
SHT2_READ_SERIAL
@ SHT2_READ_SERIAL
Definition: humid_sht_i2c.h:20
ftempsht_i2c
float ftempsht_i2c
Definition: humid_sht_i2c.h:37
SHT2_READ_TEMP
@ SHT2_READ_TEMP
Definition: humid_sht_i2c.h:23
SHT2_TRIG_HUMID
@ SHT2_TRIG_HUMID
Definition: humid_sht_i2c.h:24
int8_t
signed char int8_t
Definition: types.h:15
SHT2_IDLE
@ SHT2_IDLE
Definition: humid_sht_i2c.h:14
humid_sht_p_humid
void humid_sht_p_humid(void)
Definition: humid_sht_i2c.c:121
SHT2_SERIAL2
@ SHT2_SERIAL2
Definition: humid_sht_i2c.h:18
humid_sht_periodic_i2c
void humid_sht_periodic_i2c(void)
Definition: humid_sht_i2c.c:76
humid_sht_event_i2c
void humid_sht_event_i2c(void)
Definition: humid_sht_i2c.c:130
humidsht_i2c
uint16_t humidsht_i2c
Definition: humid_sht_i2c.c:47
SHT2_RESET
@ SHT2_RESET
Definition: humid_sht_i2c.h:15
sht_stat_i2c
sht_stat_i2c
Definition: humid_sht_i2c.h:12