33 #include "pprzlink/messages.h"
37 #ifndef ADC_CHANNEL_TEMP_REF
38 #define ADC_CHANNEL_TEMP_REF ADC_4
40 #ifndef ADC_CHANNEL_TEMP_VAL
41 #define ADC_CHANNEL_TEMP_VAL ADC_3
44 #ifndef ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES
45 #define ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES 16
75 * 52.288899706 - 7.977784737996595;
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
static struct adc_buf buf_temp_tcouple_ref
#define ADC_CHANNEL_TEMP_VAL
void adc_buf_channel(uint8_t adc_channel, struct adc_buf *s, uint8_t av_nb_sample)
Link between ChibiOS ADC drivers and Paparazzi adc_buffers.
arch independent ADC (Analog to Digital Converter) API
Generic interface for all ADC hardware drivers, independent from microcontroller architecture.
#define ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES
static struct adc_buf buf_temp_tcouple_val
#define ADC_CHANNEL_TEMP_REF
void temp_tcouple_adc_init(void)
Common code for AP and FBW telemetry.
void temp_tcouple_adc_periodic(void)