foxBMS
1.1.1
The foxBMS Battery Management System API Documentation
|
Header for the driver of the fake measurement IC driver. More...
Go to the source code of this file.
Data Structures | |
struct | FAKE_DATABASE_ENTRIES |
struct | FAKE_STATE |
Typedefs | |
typedef enum FAKE_FSM_STATES | FAKE_FSM_STATES_e |
typedef enum FAKE_FSM_SUBSTATES | FAKE_FSM_SUBSTATES_e |
typedef struct FAKE_DATABASE_ENTRIES | FAKE_DATABASE_ENTRIES_s |
typedef struct FAKE_STATE | FAKE_STATE_s |
Functions | |
STD_RETURN_TYPE_e | FAKE_Initialize (void) |
initialize driver More... | |
bool | FAKE_IsFirstMeasurementCycleFinished (FAKE_STATE_s *pFakeState) |
return whether the first measurement cycle is finished More... | |
STD_RETURN_TYPE_e | FAKE_TriggerMeasurementIc (FAKE_STATE_s *pFakeState) |
Trigger function for the driver, called to advance the state machine. More... | |
Variables | |
FAKE_STATE_s | fake_state |
Header for the driver of the fake measurement IC driver.
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 debug_default.h.
typedef struct FAKE_DATABASE_ENTRIES FAKE_DATABASE_ENTRIES_s |
This struct contains pointer to used data buffers
typedef enum FAKE_FSM_STATES FAKE_FSM_STATES_e |
States of the state machine
typedef enum FAKE_FSM_SUBSTATES FAKE_FSM_SUBSTATES_e |
Substates of the state machine
typedef struct FAKE_STATE FAKE_STATE_s |
This struct describes the state of the monitoring instance
enum FAKE_FSM_STATES |
States of the state machine
Definition at line 65 of file debug_default.h.
enum FAKE_FSM_SUBSTATES |
Substates of the state machine
Definition at line 75 of file debug_default.h.
STD_RETURN_TYPE_e FAKE_Initialize | ( | void | ) |
initialize driver
Definition at line 515 of file debug_default.c.
bool FAKE_IsFirstMeasurementCycleFinished | ( | FAKE_STATE_s * | pFakeState | ) |
return whether the first measurement cycle is finished
pFakeState | current state of the fake driver |
Definition at line 519 of file debug_default.c.
STD_RETURN_TYPE_e FAKE_TriggerMeasurementIc | ( | FAKE_STATE_s * | pFakeState | ) |
Trigger function for the driver, called to advance the state machine.
pFakeState | current state of the fake driver |
Definition at line 528 of file debug_default.c.
|
extern |
state of the fake state machine
local instance of the driver-state
Definition at line 114 of file debug_default.c.