foxBMS - Unit Tests  1.2.1
The foxBMS Unit Tests API Documentation
DATA_BLOCK_CELL_TEMPERATURE Struct Reference

#include <database_cfg.h>

Collaboration diagram for DATA_BLOCK_CELL_TEMPERATURE:

Data Fields

DATA_BLOCK_HEADER_s header
 
uint8_t state
 
int16_t cellTemperature_ddegC [BS_NR_OF_STRINGS][BS_NR_OF_TEMP_SENSORS_PER_STRING]
 
uint16_t invalidCellTemperature [BS_NR_OF_STRINGS][BS_NR_OF_MODULES]
 
uint16_t nrValidTemperatures [BS_NR_OF_STRINGS]
 

Detailed Description

data block struct of cell temperatures

Definition at line 133 of file database_cfg.h.

Field Documentation

◆ cellTemperature_ddegC

int16_t DATA_BLOCK_CELL_TEMPERATURE::cellTemperature_ddegC[BS_NR_OF_STRINGS][BS_NR_OF_TEMP_SENSORS_PER_STRING]

unit: deci °C

Definition at line 139 of file database_cfg.h.

◆ header

DATA_BLOCK_HEADER_s DATA_BLOCK_CELL_TEMPERATURE::header

Data block header

Definition at line 137 of file database_cfg.h.

◆ invalidCellTemperature

uint16_t DATA_BLOCK_CELL_TEMPERATURE::invalidCellTemperature[BS_NR_OF_STRINGS][BS_NR_OF_MODULES]

bitmask if temperatures are valid. 0->valid, 1->invalid

Definition at line 140 of file database_cfg.h.

◆ nrValidTemperatures

uint16_t DATA_BLOCK_CELL_TEMPERATURE::nrValidTemperatures[BS_NR_OF_STRINGS]

number of valid temperatures in each string

Definition at line 142 of file database_cfg.h.

◆ state

uint8_t DATA_BLOCK_CELL_TEMPERATURE::state

for future use

Definition at line 138 of file database_cfg.h.


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