foxBMS - Unit Tests
1.4.1
The foxBMS Unit Tests 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_s::balancingGlobalAllowed |
int32_t BAL_STATE_s::balancingThreshold |
uint32_t BAL_STATE_s::errorRequestCounter |
STD_RETURN_TYPE_e BAL_STATE_s::initializationFinished |
STD_OK if statemachine initialized, otherwise STD_NOT_OK
BAL_STATEMACH_e BAL_STATE_s::lastState |
uint8_t BAL_STATE_s::lastSubstate |
BAL_STATEMACH_e BAL_STATE_s::state |
BAL_STATE_REQUEST_e BAL_STATE_s::stateRequest |
BAL_STATEMACH_SUB_e BAL_STATE_s::substate |
uint16_t BAL_STATE_s::timer |
uint8_t BAL_STATE_s::triggerEntry |