foxBMS - Unit Tests
1.5.0
The foxBMS Unit Tests API Documentation
|
#include <sbc.h>
Data Fields | |
uint16_t | timer |
uint16_t | watchdogTrigger |
SBC_STATE_REQUEST_e | stateRequest |
SBC_STATEMACHINE_e | state |
SBC_STATEMACHINE_SUB_e | substate |
SBC_STATEMACHINE_e | lastState |
SBC_STATEMACHINE_SUB_e | lastSubstate |
uint32_t | illegalRequestsCounter |
uint8_t | retryCounter |
uint8_t | requestWatchdogTrigger |
uint8_t | triggerEntry |
SBC_PERIODIC_WATCHDOG_STATE_e | watchdogState |
FS85_STATE_s * | pFs85xxInstance |
uint16_t | watchdogPeriod_10ms |
This structure contains all the variables relevant for the SBC state machine. The user can get the current state of the SBC state machine with this variable
uint32_t SBC_STATE_s::illegalRequestsCounter |
SBC_STATEMACHINE_e SBC_STATE_s::lastState |
SBC_STATEMACHINE_SUB_e SBC_STATE_s::lastSubstate |
FS85_STATE_s* SBC_STATE_s::pFs85xxInstance |
uint8_t SBC_STATE_s::requestWatchdogTrigger |
uint8_t SBC_STATE_s::retryCounter |
SBC_STATEMACHINE_e SBC_STATE_s::state |
SBC_STATE_REQUEST_e SBC_STATE_s::stateRequest |
SBC_STATEMACHINE_SUB_e SBC_STATE_s::substate |
uint16_t SBC_STATE_s::timer |
uint8_t SBC_STATE_s::triggerEntry |
uint16_t SBC_STATE_s::watchdogPeriod_10ms |
SBC_PERIODIC_WATCHDOG_STATE_e SBC_STATE_s::watchdogState |
uint16_t SBC_STATE_s::watchdogTrigger |