Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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 39 of file electrical.c.

References adc_buf_channel(), ADC_CHANNEL_VSUPPLY, Electrical::current, CURRENT_ESTIMATION_NONLINEARITY, DEFAULT_AV_NB_SAMPLE, electrical, electrical_priv, 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 53 of file electrical.c.

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

Referenced by handle_periodic_tasks(), and handle_periodic_tasks_fbw().

+ Here is the caller graph for this function:

Variable Documentation