firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
BMSconfig.h File Reference

BMS configuration. More...

#include "main.h"
#include "stdbool.h"
#include "stdlib.h"
#include "string.h"
Include dependency graph for BMSconfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BMSConfigStructTypedef
struct  CellData

Macros

#define NUM_CELLS   144
#define NUM_BOARDS   12
#define NUM_TEMPS   4
#define CELL_DISCONNECT_MASK   (0x001)
#define CELL_PEC_FAIL_MASK   (0x01 << 1)
#define CELL_DCFAULT_MASK   (0x01 << 3)
#define CELL_TEMP_FAIL_MASK   (0x01 << 4)

Functions

void loadConfig (BMSConfigStructTypedef *config)

Detailed Description

BMS configuration.

Macro Definition Documentation

◆ CELL_DCFAULT_MASK

#define CELL_DCFAULT_MASK   (0x01 << 3)

◆ CELL_DISCONNECT_MASK

#define CELL_DISCONNECT_MASK   (0x001)

◆ CELL_PEC_FAIL_MASK

#define CELL_PEC_FAIL_MASK   (0x01 << 1)

◆ CELL_TEMP_FAIL_MASK

#define CELL_TEMP_FAIL_MASK   (0x01 << 4)

◆ NUM_BOARDS

#define NUM_BOARDS   12

◆ NUM_CELLS

#define NUM_CELLS   144

◆ NUM_TEMPS

#define NUM_TEMPS   4

Function Documentation

◆ loadConfig()

void loadConfig ( BMSConfigStructTypedef * config)
Here is the caller graph for this function: