foxBMS
1.1.0
The foxBMS Battery Management System API Documentation
|
#include <bal.h>
Data Fields | |
uint16_t | timer |
BAL_STATE_REQUEST_e | stateRequest |
BAL_STATEMACH_e | state |
BAL_STATEMACH_SUB_e | substate |
BAL_STATEMACH_e | lastState |
uint8_t | lastSubstate |
uint8_t | triggerEntry |
uint32_t | errorRequestCounter |
STD_RETURN_TYPE_e | initializationFinished |
bool | active |
int32_t | balancingThreshold |
bool | balancingAllowed |
bool | balancingGlobalAllowed |
This structure contains all the variables relevant for the BAL state machine. The user can get the current state of the BAL state machine with this variable
bool BAL_STATE::balancingGlobalAllowed |
int32_t BAL_STATE::balancingThreshold |
uint32_t BAL_STATE::errorRequestCounter |
STD_RETURN_TYPE_e BAL_STATE::initializationFinished |
BAL_STATEMACH_e BAL_STATE::lastState |
uint8_t BAL_STATE::lastSubstate |
BAL_STATEMACH_e BAL_STATE::state |
BAL_STATE_REQUEST_e BAL_STATE::stateRequest |
BAL_STATEMACH_SUB_e BAL_STATE::substate |
uint16_t BAL_STATE::timer |
uint8_t BAL_STATE::triggerEntry |