Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lampda::power::balancer::Status Struct Reference

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, batteryCountbatteryVoltages_mV
 Cells voltages, in order.
 
std::array< bool, batteryCountisBalancing
 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.
 

Detailed Description

Store the balancer component status.


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