foxBMS - Unit Tests
1.2.1
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 |
FS85xx_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::illegalRequestsCounter |
SBC_STATEMACHINE_e SBC_STATE::lastState |
SBC_STATEMACHINE_SUB_e SBC_STATE::lastSubstate |
FS85xx_STATE_s* SBC_STATE::pFs85xxInstance |
uint8_t SBC_STATE::requestWatchdogTrigger |
uint8_t SBC_STATE::retryCounter |
SBC_STATEMACHINE_e SBC_STATE::state |
SBC_STATE_REQUEST_e SBC_STATE::stateRequest |
SBC_STATEMACHINE_SUB_e SBC_STATE::substate |
uint16_t SBC_STATE::timer |
uint8_t SBC_STATE::triggerEntry |
uint16_t SBC_STATE::watchdogPeriod_10ms |
SBC_PERIODIC_WATCHDOG_STATE_e SBC_STATE::watchdogState |
uint16_t SBC_STATE::watchdogTrigger |