|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
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 "subsystems/datalink/downlink.h"#include "modules/meteo/temp_tcouple_adc.h"
Include dependency graph for temp_tcouple_adc.c: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.
Referenced by temp_tcouple_adc_init().
| #define ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES 16 |
Definition at line 45 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_init().
| #define ADC_CHANNEL_TEMP_VAL ADC_3 |
Definition at line 41 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_init().
| 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.
Here is the call graph for this function:| 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 53 of file temp_tcouple_adc.c.
Referenced by temp_tcouple_adc_init(), and temp_tcouple_adc_periodic().
|
static |
Definition at line 54 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 gv_adapt_run(), and temp_tcouple_adc_periodic().
| 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 __set_cpsr(), actuators_disco_set(), adxl345_i2c_tx_reg(), ak8975_event(), direct_memory_logger_set(), dl_parse_msg(), enose_periodic(), high_speed_logger_direct_memory_handler(), hmc58xx_i2c_tx_reg(), itg3200_i2c_tx_reg(), l3g4200_i2c_tx_reg(), lsm303d_spi_tx_reg(), lsm303dlhc_i2c_tx_reg(), s_read_byte(), send_filter_status(), spektrum_soft_bind_click(), superbitrf_radio_to_channels(), temp_tcouple_adc_periodic(), vms_ecu_demo_UpdateDac1(), vms_ecu_demo_UpdateDac2(), and w5100_rx_size().