Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
light_solar.h File Reference
#include "std.h"
+ Include dependency graph for light_solar.h:
+ This graph shows which files directly or indirectly include this file:

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
 

Macro Definition Documentation

#define LIGHT_NB   10

Definition at line 6 of file light_solar.h.

Referenced by light_solar_periodic().

Function Documentation

void light_solar_init ( void  )

Definition at line 57 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.

+ Here is the call graph for this function:

void light_solar_periodic ( void  )

Variable Documentation

Definition at line 51 of file light_solar.c.

Referenced by ahrs_update_accel(), light_solar_periodic(), and potential_task().

int32_t light_cnt

Definition at line 52 of file light_solar.c.

Referenced by light_solar_init(), and light_solar_periodic().

Definition at line 51 of file light_solar.c.

Referenced by light_solar_periodic().