libelec
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Data Fields
elec_batt_info_t Struct Reference

#include <libelec.h>

Data Fields

double volts
 
double capacity
 
double max_pwr
 
double chg_R
 
elec_get_temp_cb_t get_temp
 

Detailed Description

Info structure describing a battery.

Definition at line 220 of file libelec.h.

Field Documentation

◆ capacity

double capacity

Capacity in Joules at 15°C.

Definition at line 222 of file libelec.h.

◆ chg_R

double chg_R

Charging resistance, Ohms.

Definition at line 224 of file libelec.h.

◆ get_temp

Battery temperature callback as set using libelec_batt_set_temp_cb().

See also
elec_get_temp_cb_t

Definition at line 229 of file libelec.h.

◆ max_pwr

double max_pwr

Max power draw in Watts.

Definition at line 223 of file libelec.h.

◆ volts

double volts

Nominal voltage.

Definition at line 221 of file libelec.h.


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