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
Go to the documentation of this file.
1 #ifndef SUBSYSTEMS_ELECTRICAL_H
2 #define SUBSYSTEMS_ELECTRICAL_H
3 
4 #include "std.h"
5 
6 struct Electrical {
7 
11 
12 };
13 
14 extern struct Electrical electrical;
15 
16 extern void electrical_init(void);
17 extern void electrical_periodic(void);
18 
19 #endif /* SUBSYSTEMS_ELECTRICAL_H */
unsigned short uint16_t
Definition: types.h:16
void electrical_periodic(void)
uint16_t vsupply
supply voltage in decivolts
Definition: electrical.h:8
struct Electrical electrical
signed long int32_t
Definition: types.h:19
int32_t current
current in milliamps
Definition: electrical.h:9
void electrical_init(void)
int32_t consumed
consumption in mAh
Definition: electrical.h:10