Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Honeywell HIH-4030 sensor interface. More...
#include <std.h>
#include "modules/meteo/humid_hih.h"
#include "modules/meteo/temp_tmp102.h"
#include "modules/meteo/humid_dpicco.h"
#include "modules/meteo/humid_sht.h"
#include "mcu_periph/adc.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
Go to the source code of this file.
Macros | |
#define | ADC_CHANNEL_HUMID_HIH ADC_3 |
#define | ADC_CHANNEL_HUMID_NB_SAMPLES 16 |
Functions | |
void | humid_hih_init (void) |
void | humid_hih_periodic (void) |
Variables | |
uint16_t | adc_humid_hih |
float | fhih_humid |
static struct adc_buf | buf_humid_hih |
Honeywell HIH-4030 sensor interface.
This reads the values for humidity from the Honeywell HIH-4030 sensor.
Definition in file humid_hih.c.
#define ADC_CHANNEL_HUMID_HIH ADC_3 |
Definition at line 41 of file humid_hih.c.
#define ADC_CHANNEL_HUMID_NB_SAMPLES 16 |
Definition at line 45 of file humid_hih.c.
void humid_hih_init | ( | void | ) |
Definition at line 53 of file humid_hih.c.
References adc_buf_channel(), ADC_CHANNEL_HUMID_HIH, ADC_CHANNEL_HUMID_NB_SAMPLES, and buf_humid_hih.
void humid_hih_periodic | ( | void | ) |
Definition at line 58 of file humid_hih.c.
References adc_humid_hih, adc_buf::av_nb_sample, buf_humid_hih, DefaultChannel, DefaultDevice, fhih_humid, ftempsht, and adc_buf::sum.
uint16_t adc_humid_hih |
Definition at line 48 of file humid_hih.c.
Referenced by humid_hih_periodic().
|
static |
Definition at line 51 of file humid_hih.c.
Referenced by humid_hih_init(), and humid_hih_periodic().
float fhih_humid |
Definition at line 49 of file humid_hih.c.
Referenced by humid_hih_periodic().