Paparazzi UAS  v4.2.2_stable-4-gcc32f65
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


void electrical_init (void)
void electrical_periodic (void)


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(), handle_periodic_tasks_fbw(), and sim_periodic_task().

+ Here is the caller graph for this function:

Variable Documentation