foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
#include <interlock.h>
Data Fields | |
uint16_t | timer |
ILCK_STATE_REQUEST_e | statereq |
ILCK_STATEMACH_e | state |
ILCK_STATEMACH_SUB_e | substate |
ILCK_STATEMACH_e | laststate |
ILCK_STATEMACH_SUB_e | lastsubstate |
uint32_t | ErrRequestCounter |
uint8_t | triggerentry |
uint8_t | counter |
This structure contains all the variables relevant for the ILCK state machine. The user can get the current state of the ILCK state machine with this variable
Definition at line 113 of file interlock.h.
uint8_t ILCK_STATE_s::counter |
general purpose counter
Definition at line 127 of file interlock.h.
uint32_t ILCK_STATE_s::ErrRequestCounter |
counts the number of illegal requests to the LTC state machine
Definition at line 125 of file interlock.h.
ILCK_STATEMACH_e ILCK_STATE_s::laststate |
previous state of the state machine
Definition at line 122 of file interlock.h.
ILCK_STATEMACH_SUB_e ILCK_STATE_s::lastsubstate |
previous substate of the state machine
Definition at line 124 of file interlock.h.
ILCK_STATEMACH_e ILCK_STATE_s::state |
state of Driver State Machine
Definition at line 118 of file interlock.h.
ILCK_STATE_REQUEST_e ILCK_STATE_s::statereq |
current state request made to the state machine
Definition at line 116 of file interlock.h.
ILCK_STATEMACH_SUB_e ILCK_STATE_s::substate |
current substate of the state machine
Definition at line 120 of file interlock.h.
uint16_t ILCK_STATE_s::timer |
time in ms before the state machine processes the next state, e.g. in counts of 1ms
Definition at line 114 of file interlock.h.
uint8_t ILCK_STATE_s::triggerentry |
counter for re-entrance protection (function running flag)
Definition at line 126 of file interlock.h.