Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Macros | |
#define | LIGHT_NB 10 |
Functions | |
void | light_solar_init (void) |
void | light_solar_periodic (void) |
Variables | |
uint16_t | up [LIGHT_NB] |
uint16_t | dn [LIGHT_NB] |
int32_t | light_cnt |
#define LIGHT_NB 10 |
Definition at line 6 of file light_solar.h.
void light_solar_init | ( | void | ) |
Definition at line 54 of file light_solar.c.
References adc_buf_channel(), ADC_CHANNEL_LIGHT_NB_SAMPLES, ADC_CHANNEL_LIGHT_SOLAR_DN, ADC_CHANNEL_LIGHT_SOLAR_UP, buf_light_sol_dn, buf_light_sol_up, and light_cnt.
void light_solar_periodic | ( | void | ) |
Definition at line 62 of file light_solar.c.
References adc_buf::av_nb_sample, buf_light_sol_dn, buf_light_sol_up, DefaultChannel, DefaultDevice, dn, light_cnt, LIGHT_NB, adc_buf::sum, and up.
Definition at line 8 of file light_solar.h.
|
extern |
Definition at line 49 of file light_solar.c.
Referenced by light_solar_init(), and light_solar_periodic().
Definition at line 48 of file light_solar.c.
Referenced by baro_bmp280_event(), baro_bmp3_event(), find_object_centroid(), and light_solar_periodic().