firmware
IEM Firmware Documentation
|
#include "Fault.h"
Functions | |
void | init_BMS_info (BMS_critical_info_t *bms_struct) |
This method initializes the BMS info struct, which contains critical info regarding maxs and mins for readings in our battery pack. | |
bool | FAULT_check (BMS_critical_info_t *bms_struct, uint8_t bmsStatus[6]) |
This method checks for valid data as well as cell connection, OT, UT, OV, & UT faults. |
Last Edited: David Lacayo
bool FAULT_check | ( | BMS_critical_info_t * | bms_struct, |
uint8_t | bmsStatus[6] ) |
This method checks for valid data as well as cell connection, OT, UT, OV, & UT faults.
bmsData | is a 2D array of 144 cellData, containing voltage, temperature and index |
bmsStatus | is an array that keeps track of BMS Fault information that will be returned over CAN |
void init_BMS_info | ( | BMS_critical_info_t * | bms_struct | ) |
This method initializes the BMS info struct, which contains critical info regarding maxs and mins for readings in our battery pack.
bms_struct | is the struct that will be filled with critical values |