Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 "subsystems/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

#define ADC_CHANNEL_HUMID_HIH   ADC_3

Definition at line 41 of file humid_hih.c.

Referenced by humid_hih_init().

#define ADC_CHANNEL_HUMID_NB_SAMPLES   16

Definition at line 45 of file humid_hih.c.

Referenced by humid_hih_init().

Function Documentation

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:

void humid_hih_periodic ( void  )

Variable Documentation

uint16_t adc_humid_hih

Definition at line 48 of file humid_hih.c.

Referenced by humid_hih_periodic().

struct adc_buf buf_humid_hih
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().