MCU
Loading...
Searching...
No Matches
Classes | Variables
AMSInterface.h File Reference
#include "FlexCAN_T4.h"
#include "HyTech_CAN.h"
#include "SysClock.h"
#include "hytech.h"
#include "MessageQueueDefine.h"
Include dependency graph for AMSInterface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AMSInterface
 this class is for interfacing with the AMS (accumulator management system) More...
 

Variables

const unsigned long HEARTBEAT_INTERVAL = 2000
 
const unsigned long PACK_CHARGE_CRIT_TOTAL_THRESHOLD = 420
 
const unsigned long PACK_CHARGE_CRIT_LOWEST_CELL_THRESHOLD = 35000
 
const float DEFAULT_INIT_TEMP = 40.0
 
const float DEFAULT_INIT_VOLTAGE = 3.5
 
const float DEFAULT_TEMP_ALPHA = 0.8
 
const float DEFAULT_VOLTAGE_ALPHA = 0.8
 
const uint16_t MAX_PACK_CHARGE = 48600
 
const unsigned long DEFAULT_INITIALIZATION_WAIT_INTERVAL = 5000
 

Variable Documentation

◆ DEFAULT_INIT_TEMP

const float DEFAULT_INIT_TEMP = 40.0

Definition at line 17 of file AMSInterface.h.

◆ DEFAULT_INIT_VOLTAGE

const float DEFAULT_INIT_VOLTAGE = 3.5

Definition at line 18 of file AMSInterface.h.

◆ DEFAULT_INITIALIZATION_WAIT_INTERVAL

const unsigned long DEFAULT_INITIALIZATION_WAIT_INTERVAL = 5000

Definition at line 22 of file AMSInterface.h.

◆ DEFAULT_TEMP_ALPHA

const float DEFAULT_TEMP_ALPHA = 0.8

Definition at line 19 of file AMSInterface.h.

◆ DEFAULT_VOLTAGE_ALPHA

const float DEFAULT_VOLTAGE_ALPHA = 0.8

Definition at line 20 of file AMSInterface.h.

◆ HEARTBEAT_INTERVAL

const unsigned long HEARTBEAT_INTERVAL = 2000

Definition at line 11 of file AMSInterface.h.

◆ MAX_PACK_CHARGE

const uint16_t MAX_PACK_CHARGE = 48600

Definition at line 21 of file AMSInterface.h.

◆ PACK_CHARGE_CRIT_LOWEST_CELL_THRESHOLD

const unsigned long PACK_CHARGE_CRIT_LOWEST_CELL_THRESHOLD = 35000

Definition at line 15 of file AMSInterface.h.

◆ PACK_CHARGE_CRIT_TOTAL_THRESHOLD

const unsigned long PACK_CHARGE_CRIT_TOTAL_THRESHOLD = 420

Definition at line 13 of file AMSInterface.h.