Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
balancer.h File Reference

Interface for the abstraction layer of the battery balancer component. More...

Go to the source code of this file.

Classes

struct  lampda::power::balancer::Status
 Store the balancer component status. More...
 

Namespaces

namespace  lampda
 Program scope.
 
namespace  lampda::power::balancer
 Handles the battery balancing process.
 

Functions

Status lampda::power::balancer::get_status ()
 Return the status of the balancer.
 
bool lampda::power::balancer::init ()
 Call once on init.
 
void lampda::power::balancer::loop ()
 call often to refresh measurments
 
void lampda::power::balancer::enable_balancing (bool enable)
 enable the battery balancing process
 
void lampda::power::balancer::go_to_sleep ()
 call before the system goes to sleep
 

Detailed Description

Interface for the abstraction layer of the battery balancer component.