Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
SHTxx sensor interface. More...
#include "std.h"
Go to the source code of this file.
Functions | |
void | humid_sht_init (void) |
void | humid_sht_periodic (void) |
Variables | |
uint16_t | humidsht |
uint16_t | tempsht |
float | fhumidsht |
float | ftempsht |
bool_t | humid_sht_available |
uint8_t | humid_sht_status |
SHTxx sensor interface.
This reads the values for humidity and temperature from the SHTxx sensor through bit banging.
Definition in file humid_sht.h.
void humid_sht_init | ( | void | ) |
Definition at line 292 of file humid_sht.c.
References FALSE, gpio_clear(), gpio_setup_input(), gpio_setup_output(), humid_sht_available, humid_sht_status, and SHT_IDLE.
void humid_sht_periodic | ( | void | ) |
Definition at line 304 of file humid_sht.c.
References calc_sht(), DefaultChannel, DefaultDevice, FALSE, fhumidsht, ftempsht, HUMI, humid_sht_available, humid_sht_status, humidsht, s_connectionreset(), s_read_measure(), s_start_measure(), SHT_IDLE, SHT_MEASURING_HUMID, SHT_MEASURING_TEMP, TEMP, tempsht, and TRUE.
float fhumidsht |
Definition at line 80 of file humid_sht.c.
Referenced by humid_sht_periodic().
float ftempsht |
Definition at line 80 of file humid_sht.c.
Referenced by humid_hih_periodic(), and humid_sht_periodic().
bool_t humid_sht_available |
Definition at line 81 of file humid_sht.c.
Referenced by humid_sht_init(), and humid_sht_periodic().
uint8_t humid_sht_status |
Definition at line 82 of file humid_sht.c.
Referenced by humid_sht_init(), and humid_sht_periodic().
uint16_t humidsht |
Definition at line 79 of file humid_sht.c.
Referenced by humid_sht_periodic().
uint16_t tempsht |
Definition at line 79 of file humid_sht.c.
Referenced by humid_sht_periodic().