foxBMS - Unit Tests
1.5.0
The foxBMS Unit Tests API Documentation
|
Database configuration header. More...
#include "battery_system_cfg.h"
#include "mcu.h"
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | DATA_BASE_s |
struct | DATA_BLOCK_HEADER_s |
struct | DATA_BLOCK_CELL_VOLTAGE_s |
struct | DATA_BLOCK_CELL_TEMPERATURE_s |
struct | DATA_BLOCK_MIN_MAX_s |
struct | DATA_BLOCK_PACK_VALUES_s |
struct | DATA_BLOCK_CURRENT_SENSOR_s |
struct | DATA_BLOCK_BALANCING_CONTROL_s |
struct | DATA_BLOCK_SLAVE_CONTROL_s |
struct | DATA_BLOCK_BALANCING_FEEDBACK_s |
struct | DATA_BLOCK_USER_MUX_s |
struct | DATA_BLOCK_OPEN_WIRE_s |
struct | DATA_BLOCK_ALL_GPIO_VOLTAGES_s |
struct | DATA_BLOCK_ERROR_STATE_s |
struct | DATA_BLOCK_CONTACTOR_FEEDBACK_s |
struct | DATA_BLOCK_INTERLOCK_FEEDBACK_s |
struct | DATA_BLOCK_SOF_s |
struct | DATA_BLOCK_SYSTEM_STATE_s |
struct | DATA_BLOCK_MSL_FLAG_s |
struct | DATA_BLOCK_RSL_FLAG_s |
struct | DATA_BLOCK_MOL_FLAG_s |
struct | DATA_BLOCK_SOX_s |
struct | DATA_BLOCK_STATE_REQUEST_s |
struct | DATA_BLOCK_MOVING_AVERAGE_s |
struct | DATA_BLOCK_INSULATION_MONITORING_s |
struct | DATA_BLOCK_HTSEN_s |
struct | DATA_BLOCK_ADC_VOLTAGE_s |
struct | DATA_BLOCK_DUMMY_FOR_SELF_TEST_s |
Functions | |
FAS_STATIC_ASSERT ((int16_t) DATA_BLOCK_ID_MAX< UINT8_MAX, "Maximum number of database entries exceeds UINT8_MAX; adapted length " "checking in DATA_Initialize and DATA_IterateOverDatabaseEntries") | |
Variables | |
DATA_BASE_s | data_database [DATA_BLOCK_ID_MAX] |
channel configuration of database (data blocks) More... | |
Database configuration header.
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:
Provides interfaces to database configuration
Definition in file database_cfg.h.
enum DATA_BLOCK_ID_e |
data block identification numbers
Definition at line 78 of file database_cfg.h.
FAS_STATIC_ASSERT | ( | ) |
|
extern |
channel configuration of database (data blocks)
array for the database
all data block managed by database are listed here (address, size, consistency type)
Definition at line 179 of file database_cfg.c.