Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
electrical.h File Reference

Interface for electrical status: supply voltage, current, battery status, etc. More...

#include "std.h"
#include "generated/airframe.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
 

Macros

#define LOW_BAT_LEVEL   10.5
 low battery level in Volts (for 3S LiPo) More...
 
#define CRITIC_BAT_LEVEL   9.8
 critical battery level in Volts (for 3S LiPo) More...
 

Functions

void electrical_init (void)
 
void electrical_periodic (void)
 

Variables

struct Electrical electrical
 

Detailed Description

Interface for electrical status: supply voltage, current, battery status, etc.

Definition in file electrical.h.

Macro Definition Documentation

#define CRITIC_BAT_LEVEL   9.8

critical battery level in Volts (for 3S LiPo)

Definition at line 42 of file electrical.h.

Referenced by electrical_periodic().

#define LOW_BAT_LEVEL   10.5

low battery level in Volts (for 3S LiPo)

Definition at line 36 of file electrical.h.

Referenced by electrical_periodic(), and max7456_periodic().

Function Documentation

void electrical_init ( void  )

Variable Documentation