foxBMS
1.1.1
The foxBMS Battery Management System API Documentation
|
Header file of some software. More...
#include "general.h"
Go to the source code of this file.
Data Structures | |
struct | EG_INFORMATION |
struct | EG_STATE |
Typedefs | |
typedef enum EG_FSM_STATES | EG_FSM_STATES_e |
typedef enum EG_FSM_SUBSTATES | EG_FSM_SUBSTATES_e |
typedef struct EG_INFORMATION | EG_INFORMATION_s |
typedef struct EG_STATE | EG_STATE_s |
Functions | |
STD_RETURN_TYPE_e | EG_Trigger (EG_STATE_s *pEgState) |
tick function, call this to advance the state machine More... | |
Variables | |
EG_STATE_s | eg_state |
Header file of some software.
SPDX-License-Identifier: BSD-3-Clause
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
We kindly request you to use one or more of the following phrases to refer to foxBMS in your hardware, software, documentation or advertising materials:
Definition in file state-machine.h.
typedef enum EG_FSM_STATES EG_FSM_STATES_e |
States of the state machine
typedef enum EG_FSM_SUBSTATES EG_FSM_SUBSTATES_e |
Substates of the state machine
typedef struct EG_INFORMATION EG_INFORMATION_s |
some struct with some information
typedef struct EG_STATE EG_STATE_s |
This struct describes the state of the monitoring instance
enum EG_FSM_STATES |
States of the state machine
Definition at line 62 of file state-machine.h.
enum EG_FSM_SUBSTATES |
Substates of the state machine
Definition at line 72 of file state-machine.h.
STD_RETURN_TYPE_e EG_Trigger | ( | EG_STATE_s * | pEgState | ) |
tick function, call this to advance the state machine
pEgState | current state of the state machine |
Definition at line 435 of file state-machine.c.
|
extern |
state of the example state machine
local instance of the driver-state
Definition at line 87 of file state-machine.c.