|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
32 #include "pprzlink/messages.h"
36 #ifndef ADC_CHANNEL_LIGHT_SOLAR_UP
37 #define ADC_CHANNEL_LIGHT_SOLAR_UP ADC_1
39 #ifndef ADC_CHANNEL_LIGHT_SOLAR_DN
40 #define ADC_CHANNEL_LIGHT_SOLAR_DN ADC_2
43 #ifndef ADC_CHANNEL_LIGHT_NB_SAMPLES
44 #define ADC_CHANNEL_LIGHT_NB_SAMPLES 16
static struct adc_buf buf_light_sol_dn
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.
void light_solar_periodic(void)
arch independent ADC (Analog to Digital Converter) API
#define ADC_CHANNEL_LIGHT_SOLAR_UP
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
Common code for AP and FBW telemetry.
#define ADC_CHANNEL_LIGHT_SOLAR_DN
static struct adc_buf buf_light_sol_up
#define ADC_CHANNEL_LIGHT_NB_SAMPLES
void light_solar_init(void)
Generic interface for all ADC hardware drivers, independent from microcontroller architecture.