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 Struct Reference

#include <electrical.h>

Data Fields

uint16_t vsupply
 supply voltage in decivolts More...
 
int32_t current
 current in milliamps More...
 
int32_t consumed
 consumption in mAh More...
 
float energy
 consumed energy in mAh More...
 
bool_t bat_low
 battery low status More...
 
bool_t bat_critical
 battery critical status More...
 

Detailed Description

Definition at line 46 of file electrical.h.

Field Documentation

bool_t Electrical::bat_critical

battery critical status

Definition at line 53 of file electrical.h.

Referenced by bat_checker_periodic(), electrical_init(), electrical_periodic(), and failsafe_check().

bool_t Electrical::bat_low

battery low status

Definition at line 52 of file electrical.h.

Referenced by bat_checker_periodic(), electrical_init(), and electrical_periodic().

int32_t Electrical::consumed

consumption in mAh

Definition at line 50 of file electrical.h.

Referenced by ezcurrent_read_event().

int32_t Electrical::current
float Electrical::energy

consumed energy in mAh

Definition at line 51 of file electrical.h.

Referenced by electrical_init(), electrical_periodic(), and send_energy().


The documentation for this struct was generated from the following file: