foxBMS - Unit Tests
1.5.0
The foxBMS Unit Tests API Documentation
|
Basic defines for the complete Maxim driver. More...
Go to the source code of this file.
Data Structures | |
struct | MXM_DATA_STORAGE_s |
Macros | |
#define | MXM_MAXIMUM_NR_OF_MODULES (32u) |
Maximum number of modules. More... | |
#define | MXM_MAXIMUM_NR_OF_CELLS_PER_MODULE (14u) |
Maximum number of cells per module. More... | |
#define | MXM_MAXIMUM_NR_OF_AUX_PER_MODULE (6u) |
Maximum number of AUX ports per module. More... | |
Basic defines for the complete Maxim 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:
def
Definition in file mxm_basic_defines.h.
#define MXM_MAXIMUM_NR_OF_AUX_PER_MODULE (6u) |
Maximum number of AUX ports per module.
Maximum number of AUX ports that can be on one module. This value is given by the hardware and cannot be changed.
Definition at line 91 of file mxm_basic_defines.h.
#define MXM_MAXIMUM_NR_OF_CELLS_PER_MODULE (14u) |
Maximum number of cells per module.
Maximum number of cells that can be connected to one module. This value is given by the hardware and cannot be changed.
Definition at line 83 of file mxm_basic_defines.h.
#define MXM_MAXIMUM_NR_OF_MODULES (32u) |
Maximum number of modules.
Maximum number of modules that can be connected to one UART daisy-chain. This value is defined in the Maxim Battery Management Protocol and cannot be changed.
Definition at line 75 of file mxm_basic_defines.h.
Conversion Type
Enumerator | |
---|---|
MXM_CONVERSION_UNIPOLAR | unipolar measurement |
MXM_CONVERSION_BIPOLAR | bipolar measurement |
MXM_CONVERSION_BLOCK_VOLTAGE | measurement of block voltage |
Definition at line 143 of file mxm_basic_defines.h.
enum MXM_DC_BYTE_e |
values that the datacheck byte can assume
Definition at line 109 of file mxm_basic_defines.h.
enum MXM_MEASURE_TYPE_e |
Type of measurement
Enumerator | |
---|---|
MXM_MEASURE_CELL_VOLTAGE | cell voltage measurement |
MXM_MEASURE_TEMP | temperature measurement |
MXM_MEASURE_BLOCK_VOLTAGE | block voltage measurement |
Definition at line 150 of file mxm_basic_defines.h.
enum MXM_MODEL_ID_e |
Type of monitoring device.
This enum describes the available types of monitoring devices. These values also align with the register values on the corresponding devices and should therefore not be altered.
Definition at line 100 of file mxm_basic_defines.h.
valid values for the silicon version of connected monitoring ICs
Definition at line 122 of file mxm_basic_defines.h.