Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
humid_hih.c File Reference

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 "modules/datalink/downlink.h"
+ Include dependency graph for humid_hih.c:

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
 

Detailed Description

Honeywell HIH-4030 sensor interface.

This reads the values for humidity from the Honeywell HIH-4030 sensor.

Definition in file humid_hih.c.

Macro Definition Documentation

◆ ADC_CHANNEL_HUMID_HIH

#define ADC_CHANNEL_HUMID_HIH   ADC_3

Definition at line 41 of file humid_hih.c.

◆ ADC_CHANNEL_HUMID_NB_SAMPLES

#define ADC_CHANNEL_HUMID_NB_SAMPLES   16

Definition at line 45 of file humid_hih.c.

Function Documentation

◆ humid_hih_init()

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.

+ Here is the call graph for this function:

◆ humid_hih_periodic()

void humid_hih_periodic ( void  )

Variable Documentation

◆ adc_humid_hih

uint16_t adc_humid_hih

Definition at line 48 of file humid_hih.c.

Referenced by humid_hih_periodic().

◆ buf_humid_hih

struct adc_buf buf_humid_hih
static

Definition at line 49 of file humid_hih.c.

Referenced by humid_hih_init(), and humid_hih_periodic().

◆ fhih_humid

float fhih_humid

Definition at line 49 of file humid_hih.c.

Referenced by humid_hih_periodic().