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
electrical.h File Reference
#include "std.h"
+ Include dependency graph for electrical.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Electrical
 

Functions

void electrical_init (void)
 
void electrical_periodic (void)
 

Variables

struct Electrical electrical
 

Function Documentation

void electrical_init ( void  )

Definition at line 33 of file electrical_arch.c.

References adc_buf_channel(), ADC_CHANNEL_VSUPPLY, Electrical::current, CURRENT_ESTIMATION_NONLINEARITY, DEFAULT_AV_NB_SAMPLE, electrical, and Electrical::vsupply.

Referenced by init_fbw(), and main_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void electrical_periodic ( void  )

Definition at line 35 of file electrical_arch.c.

References commands, Electrical::current, electrical, MAX_PPRZ, MilliAmpereOfAdc, VoltageOfAdc, and Electrical::vsupply.

Referenced by handle_periodic_tasks(), handle_periodic_tasks_fbw(), and sim_periodic_task().

+ Here is the caller graph for this function:

Variable Documentation