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 ADC (Analog to Digital Converter) API
Generic interface for all ADC hardware drivers, independent from microcontroller architecture.
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.
Common code for AP and FBW telemetry.
static struct adc_buf buf_temp_tcouple_val
void temp_tcouple_adc_periodic(void)
static struct adc_buf buf_temp_tcouple_ref
#define ADC_CHANNEL_TEMP_REF
#define ADC_CHANNEL_TEMP_VAL
#define ADC_CHANNEL_TEMP_TCOUPLE_NB_SAMPLES
void temp_tcouple_adc_init(void)
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
int int32_t
Typedef defining 32 bit int type.