|
Lamp-Da 0.1
A compact lantern project
|
Store the balancer component status. More...
#include <balancer.h>
Public Member Functions | |
| bool | is_valid () const |
| True if this structure contains valid data. | |
Public Attributes | |
| std::array< uint16_t, batteryCount > | batteryVoltages_mV |
| Cells voltages, in order. | |
| std::array< bool, batteryCount > | isBalancing |
| True if the cell is currently balancing. | |
| uint16_t | stackVoltage_mV |
| Voltage of the battery pack, in millivolts. | |
| uint16_t | temperature_degrees |
| Temperature of the component, in degrees. | |
| uint32_t | lastMeasurmentUpdate = 0 |
| Last time the measurment was updated, in milliseconds. | |
Store the balancer component status.