foxBMS  1.4.1
The foxBMS Battery Management System API Documentation
EG_STATE_s Struct Reference

#include <state-machine.h>

Collaboration diagram for EG_STATE_s:

Data Fields

uint16_t timer
 
uint8_t triggerEntry
 
EG_FSM_STATES_e nextState
 
EG_FSM_STATES_e currentState
 
EG_FSM_STATES_e previousState
 
EG_FSM_SUBSTATES_e nextSubstate
 
EG_FSM_SUBSTATES_e currentSubstate
 
EG_FSM_SUBSTATES_e previousSubstate
 
EG_INFORMATION_s information
 

Detailed Description

This struct describes the state of the monitoring instance

Definition at line 92 of file state-machine.h.

Field Documentation

◆ currentState

EG_FSM_STATES_e EG_STATE_s::currentState

current state of the FSM

Definition at line 96 of file state-machine.h.

◆ currentSubstate

EG_FSM_SUBSTATES_e EG_STATE_s::currentSubstate

current substate of the FSM

Definition at line 99 of file state-machine.h.

◆ information

EG_INFORMATION_s EG_STATE_s::information

Some information to be stored

Definition at line 101 of file state-machine.h.

◆ nextState

EG_FSM_STATES_e EG_STATE_s::nextState

next state of the FSM

Definition at line 95 of file state-machine.h.

◆ nextSubstate

EG_FSM_SUBSTATES_e EG_STATE_s::nextSubstate

next substate of the FSM

Definition at line 98 of file state-machine.h.

◆ previousState

EG_FSM_STATES_e EG_STATE_s::previousState

previous state of the FSM

Definition at line 97 of file state-machine.h.

◆ previousSubstate

EG_FSM_SUBSTATES_e EG_STATE_s::previousSubstate

previous substate of the FSM

Definition at line 100 of file state-machine.h.

◆ timer

uint16_t EG_STATE_s::timer

timer of the state

Definition at line 93 of file state-machine.h.

◆ triggerEntry

uint8_t EG_STATE_s::triggerEntry

trigger entry of the state

Definition at line 94 of file state-machine.h.


The documentation for this struct was generated from the following file: