Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Universitaet Tuebingen thermocouple interface. More...
#include "mcu_periph/adc.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "modules/datalink/downlink.h"
#include "modules/meteo/temp_tcouple_adc.h"
Go to the source code of this file.
Macros | |
#define | ADC_CHANNEL_TEMP_REF ADC_4 |
#define | ADC_CHANNEL_TEMP_VAL ADC_3 |
#define | ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES 16 |
Functions | |
void | temp_tcouple_adc_init (void) |
void | temp_tcouple_adc_periodic (void) |
Variables | |
uint16_t | ref [TCOUPLE_NB] |
uint16_t | val [TCOUPLE_NB] |
float | fref [TCOUPLE_NB] |
float | fval [TCOUPLE_NB] |
int32_t | temp_cnt |
static struct adc_buf | buf_temp_tcouple_ref |
static struct adc_buf | buf_temp_tcouple_val |
Universitaet Tuebingen thermocouple interface.
This reads the values for reference and measurement temperature from the Universitaet Tuebingen thermocouple sensor.
Definition in file temp_tcouple_adc.c.
#define ADC_CHANNEL_TEMP_REF ADC_4 |
Definition at line 38 of file temp_tcouple_adc.c.
#define ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES 16 |
Definition at line 45 of file temp_tcouple_adc.c.
#define ADC_CHANNEL_TEMP_VAL ADC_3 |
Definition at line 41 of file temp_tcouple_adc.c.
void temp_tcouple_adc_init | ( | void | ) |
Definition at line 56 of file temp_tcouple_adc.c.
References adc_buf_channel(), ADC_CHANNEL_TEMP_REF, ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES, ADC_CHANNEL_TEMP_VAL, buf_temp_tcouple_ref, buf_temp_tcouple_val, and temp_cnt.
void temp_tcouple_adc_periodic | ( | void | ) |
Definition at line 67 of file temp_tcouple_adc.c.
References adc_buf::av_nb_sample, buf_temp_tcouple_ref, buf_temp_tcouple_val, DefaultChannel, DefaultDevice, fref, fval, ref, adc_buf::sum, TCOUPLE_NB, temp_cnt, and val.
|
static |
Definition at line 51 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_init(), and temp_tcouple_adc_periodic().
|
static |
Definition at line 51 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_init(), and temp_tcouple_adc_periodic().
float fref[TCOUPLE_NB] |
Definition at line 50 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_periodic().
float fval[TCOUPLE_NB] |
Definition at line 50 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_periodic().
uint16_t ref[TCOUPLE_NB] |
Definition at line 49 of file temp_tcouple_adc.c.
Referenced by attitude_ref_euler_float_enter(), attitude_ref_euler_float_init(), attitude_ref_euler_float_update(), attitude_ref_euler_int_init(), attitude_ref_euler_int_update(), attitude_ref_quat_float_enter(), attitude_ref_quat_float_idx_set_omega_p(), attitude_ref_quat_float_idx_set_omega_q(), attitude_ref_quat_float_idx_set_omega_r(), attitude_ref_quat_float_init(), attitude_ref_quat_float_schedule(), attitude_ref_quat_float_set_omega_p(), attitude_ref_quat_float_set_omega_q(), attitude_ref_quat_float_set_omega_r(), attitude_ref_quat_float_update(), attitude_ref_quat_int_enter(), attitude_ref_quat_int_init(), attitude_ref_quat_int_set_max_p(), attitude_ref_quat_int_set_max_pdot(), attitude_ref_quat_int_set_max_q(), attitude_ref_quat_int_set_max_qdot(), attitude_ref_quat_int_set_max_r(), attitude_ref_quat_int_set_max_rdot(), attitude_ref_quat_int_set_omega(), attitude_ref_quat_int_set_omega_p(), attitude_ref_quat_int_set_omega_q(), attitude_ref_quat_int_set_omega_r(), attitude_ref_quat_int_set_zeta(), attitude_ref_quat_int_set_zeta_p(), attitude_ref_quat_int_set_zeta_q(), attitude_ref_quat_int_set_zeta_r(), attitude_ref_quat_int_update(), gv_adapt_run(), reset_psi_ref(), temp_tcouple_adc_periodic(), update_ref_model(), update_ref_model_p(), update_ref_model_q(), and update_ref_model_r().
int32_t temp_cnt |
Definition at line 51 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_init(), and temp_tcouple_adc_periodic().
uint16_t val[TCOUPLE_NB] |
Definition at line 49 of file temp_tcouple_adc.c.
Referenced by actuators_disco_set(), adxl345_i2c_tx_reg(), ak8975_event(), crc4(), direct_memory_logger_set(), dl_parse_msg(), get_ajusted_value(), high_speed_logger_direct_memory_handler(), hmc58xx_i2c_tx_reg(), itg3200_i2c_tx_reg(), l3g4200_i2c_tx_reg(), lps25h_i2c_tx_reg(), lsm303d_spi_tx_reg(), lsm303dlhc_i2c_tx_reg(), lsm6_i2c_tx_reg(), pca95xx_configure(), power_switch_set(), s_read_byte(), send_cloud_sensor_data(), send_filter_status(), settings_parse_msg_GET_SETTING(), smartPortSendPackage(), spektrum_soft_bind_click(), superbitrf_radio_to_channels(), swap_uint16(), swap_uint32(), temp_tcouple_adc_periodic(), w5100_rx_size(), write_reg(), write_sysfs_int(), and write_var().