33 #include "pprzlink/messages.h"
36 #ifndef ADC_CHANNEL_LIGHT_TEMT
37 #define ADC_CHANNEL_LIGHT_TEMT ADC_4
40 #ifndef ADC_CHANNEL_LIGHT_NB_SAMPLES
41 #define ADC_CHANNEL_LIGHT_NB_SAMPLES 16
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.
void light_temt_init(void)
#define ADC_CHANNEL_LIGHT_NB_SAMPLES
void light_temt_periodic(void)
#define ADC_CHANNEL_LIGHT_TEMT
static struct adc_buf buf_light_temt
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.